Three Charts You Already Wanted, Now First-Class in CanvasXpress: Strip, Slope, and Pyramid

Some charts are so common that people assume every visualization library has them by name. Ask an analyst for "a strip plot of these groups," "a slope chart showing before and after," or "a population pyramid," and they expect to type that word and get the picture. CanvasXpress now does exactly that: StripPlot, Slope, and Pyramid are first-class graph types you can request directly.

Under the hood, each of these is a thin, well-tested layer over a renderer CanvasXpress has shipped for years. That is the point. You get a discoverable, named chart type without a brand-new rendering engine behind it, so tooltips, PNG and PDF export, accessibility, and the Customizer all work the way they already do everywhere else.

Strip plots: see every point, not just the summary

A box plot hides the data behind a summary. When you have a modest number of observations per group, a strip plot is often the better choice: it draws every point, jittered sideways so overlapping values fan out instead of stacking into a single opaque dot.

new CanvasXpress("canvas", {
  graphType: "StripPlot",
  smps: ["Control", "Treatment", "Placebo"],
  data: { /* grouped numeric values */ }
});

That is all it takes. No extra flags, no manual jitter math. If you have ever reached for geom_jitter in another ecosystem, this is the same idea with a name you can actually type.

Slope charts: change between two moments, told clearly

A slope chart is the cleanest way to show how a set of items moved between two states: before and after a policy, two time points, two conditions. Each item becomes a single line connecting its two values, so the eye reads the direction and steepness of change instantly. Lines that rise, lines that fall, and the lines that cross all tell their story without a legend to decode.

new CanvasXpress("canvas", {
  graphType: "Slope",
  data: { /* each series measured in two groups */ }
});

When you ask for a Slope chart, CanvasXpress connects each series across the two categories, hides the redundant legend clutter that a slope chart does not need, and places value labels at the line ends so every endpoint is readable. You can still override any of that; it simply starts out looking like a slope chart is supposed to look.

Pyramid charts: back-to-back bars by name

The population pyramid — age bands mirrored left and right for two groups — is a staple of demographics, survey work, and any comparison of two populations across the same categories. CanvasXpress has long rendered back-to-back horizontal bars; now that layout has its proper name. Ask for graphType: "Pyramid" (or "Pyramid Chart") and you get it, discoverable in the gallery and the type list instead of hidden behind a different keyword.

new CanvasXpress("canvas", {
  graphType: "Pyramid",
  data: { /* two groups across shared categories */ }
});

Why naming matters

There is a quiet but real benefit to promoting these from "a base type plus the right options" to a named type. Discoverability. When a chart has a name, it shows up when you list the available chart types, it appears in the gallery with an example you can copy, and it is documented as its own thing. An assistant or a teammate who asks "what can CanvasXpress draw?" sees StripPlot, Slope, and Pyramid in the answer, instead of having to already know that a strip plot is "a dot plot with jitter turned on."

It also means plain-language requests resolve correctly. "Give me a slope graph," "a before/after chart," "an age pyramid," "a jitter plot" — all of these now land on the right chart type instead of a near-miss or a blank.

Everything you already rely on still works

Because each of these three sits on top of an existing, battle-tested renderer — strip plots on the dot-plot engine, slope charts on the line engine, pyramids on the back-to-back bar engine — you inherit the full CanvasXpress feature set for free. Hover tooltips work. Saving to PNG embeds the reproducible-research metadata that lets anyone drag the image back onto a canvas and recover the chart. Export to PDF works. The Customizer lets a non-coder tweak the result by clicking. Keyboard and screen-reader support carries over. None of that had to be rebuilt, which is also why these chart types arrived solid rather than experimental.

Try it today

If you are already using CanvasXpress, the three new names are available now. Point graphType at "StripPlot", "Slope", or "Pyramid", hand it your data, and you are done. Each ships with a gallery example you can open, copy, and adapt.

The broader theme here is worth stating plainly: a good visualization library should let you ask for a chart in the words you already use. These three additions close a small but persistent gap between what people say they want and what they had to know to get it.