Domain-Native Science Panels: CanvasXpress Now Recognizes Your Data

If you've ever tried to get a general-purpose BI tool to draw a Kaplan-Meier survival curve, an oncoprint of tumor mutations, or a Manhattan plot from a GWAS summary table, you know the drill: there's no native chart type for it, so you either fake it with a stacked bar chart and a prayer, or you drop into a notebook and write custom plotting code just to get back to something a clinical or bench scientist actually recognizes.

CanvasXpress has always had first-class engine support for these scientific chart types. What was missing was the glue between "I have a CSV with a time column and an event column" and "here's your survival curve, log-rank p-value included." That glue is now in place. CanvasXpress dashboards can look at your data, recognize common scientific shapes, and hand you the right panel — Kaplan-Meier, Oncoprint, clustered Heatmap, Manhattan, or Volcano — without you writing a line of configuration.

Your data tells the dashboard what it is

Drop in a table with a time-to-event column and a binary status column, and the dashboard recognizes a survival dataset and suggests a Kaplan-Meier panel. Give it chromosome, position, and p-value columns, and it suggests a Manhattan plot. A log2 fold-change column paired with a p-value column reads as a differential-expression result and points you toward a Volcano plot. A matrix of mutation/alteration tokens (gene × sample) suggests an Oncoprint. A wide numeric matrix suggests a clustered Heatmap.

This detection is intentionally conservative: it's a suggestion, not a silent rewrite of your chart. You see a hint — something like "This looks like survival data… use Kaplan-Meier?" — and you choose whether to accept it. Your existing charts and manually authored configurations are never touched automatically.

Five panels, zero config archaeology

Each scientific panel type now comes with sane, domain-aware defaults baked in, so you don't have to reverse-engineer which options matter:

If you'd rather configure a panel directly instead of going through the suggestion flow, the configuration is just an ordinary CanvasXpress config object — for example, a survival panel looks like this:

var cx = new CanvasXpress("survivalCanvas", data, {
  graphType: "KaplanMeier",
  xAxis: ["time"],
  yAxis: ["event"],
  colorBy: "group",
  showKMConfidenceIntervals: true,
  kmPvalue: true,
  kmRiskTable: true,
  kmCensoredRug: true
});

The same pattern applies to the other panel types — graphType: "Oncoprint", graphType: "Manhattan", or a Scatter2D configured as a Volcano plot — each with its own small set of defaults tuned for the science, not generic charting.

Click, don't type

All of this is also reachable entirely from the dashboard builder's Add-Panel dialog. The five scientific presets show up right in the chart-type picker alongside the standard chart types, each with its own guided field mapping — so you pick "Kaplan-Meier," tell it which columns are time and event, and you're done. If the auto-detect logic has already spotted a likely match in your data, it surfaces as a clickable suggestion right there in the dialog. A scientist exploring a new dataset doesn't need to know CanvasXpress configuration syntax at all to get a publication-quality survival curve or oncoprint on screen.

Selections that follow the biology

Scientific analysis rarely lives in one panel. You select a cluster of genes in a heatmap, and you want to see those same genes highlighted in a differential-expression scatter plot next to it — not re-query, not re-filter by hand. Dashboard panels can be linked by shared identifiers (gene names, sample IDs) so that a selection in one panel marks the matching elements in another automatically. Build an expression heatmap and a per-gene scatter plot side by side, link them on the gene axis, and selecting a set of genes in the heatmap highlights that same set in the scatter — a lightweight way to move between "which genes cluster together" and "which of those are actually significant," without leaving the dashboard.

Share your analysis, not just your screenshot

Once you've built a panel — whether by accepting an auto-detected suggestion or configuring it by hand — it's a normal CanvasXpress chart in every other respect. You can save it from the File menu as a JSON file that fully captures the chart's data and configuration, and anyone can reload it by dragging that file onto a chart container. If you want to show exactly how a chart came together, step by step, the toolbar's Reproduce action replays its construction so a colleague can watch the same analysis unfold rather than just inspect the final image.

Why this matters

Generic BI tools treat scientific data like any other table: rows, columns, bar charts. CanvasXpress has always had the rendering engine to do better — Kaplan-Meier curves, oncoprints, Manhattan plots, and clustered heatmaps are not bolted-on extras, they're core chart types. What's new is that the dashboard now meets scientists where their data already is: drop in a survival table or a mutation matrix, and the right panel finds you, instead of the other way around. That's one less translation step between "I have a result" and "I can see it."