Compose, coordinate, and render dashboards โ collections of linked CanvasXpress visualizations โ from a single declarative JSON spec. See the repository README for the library API.
Real data, straight from a pins board. The Palmer Penguins
dataset (344 measurements) is published to a Posit pins board and
read back with board_url() over HTTP, then reshaped into five
species-tagged datasets. A Species filter drives three ring-card meters
(count, body mass, flipper), an island bar, and a bill-shape scatter.
Read a pins board live, through the connector. The Palmer
Penguins table is published to a Posit pins board with
pin_write() and read back live via the real
PinsBoardSource connector โ nothing baked. Two species-colored
scatters and a Species filter, driven off the live source. Point it at your
own Connect / folder / S3 / URL board. (Sign in required.)
Author in R, present in a dashboard. Four charts written as
ggplot2 code โ scatter, boxplot, bar, time series โ each converted once
via ggplot.as.list() and rendered as a native,
interactive CanvasXpress panel (hover, selection, customizer), not a
picture. Built from a folder of R snippets with the cxd-ggplot tool.
Author charts in code, present them in a dashboard.
Three charts โ a ggplot2 scatter, an R canvasXpress bar
chart and a Python canvasxpress heatmap โ each converted once
on the server into its native spec and rendered as a live, interactive
CanvasXpress panel. Paste code in the Builder (๐ Code) or build from
a folder with the cxd-ggplot / cxd-cx tools.
Click to filter. Two datasets (24 orders, 12 reps) linked on
Region with markingMode:"filter": select bars in one
panel and the others narrow to the matching rows โ the signature BI
cross-filter gesture, no code. A Reset cross-filter control clears it.
The same markingMode:"filter" gesture on scientific data:
16 patients linked to their expression samples by patient id. Select
responders in the tumor-response scatter and the heatmap and PD-L1
boxplot filter to just those patients' samples โ and the reverse.
Large data, pushed down. A 300,000-row Parquet file read through a
ParquetSource (DuckDB). Every panel is a grouped / filtered
pushdown query, so DuckDB aggregates and only a dozen rows reach the
browser. Pick a region to re-query the per-product breakdown in the database.
Run examples/parquet-adapter.py for live data.
The same linked data as the cross-filter demo, with
markingMode:"highlight": clicking a bar outlines the
related rep rows while the rest stay visible โ compare it to Filter and Ghost.
The same linked data with markingMode:"ghost": clicking a bar
fades back the unrelated rep rows so the selection stands out โ the
fourth linked-selection mode alongside Focus, Highlight and Filter.
Two panels follow live streams (kind:"live"): each
keeps the last 60 seconds and slides forward as readings arrive, one
redraw per frame. A 24-hour snapshot below gives them context.
Signed in, it streams from the server; elsewhere the browser
simulates the same messages.
The data model without JSON: calculated fields computed once on a source (the Filters panel lists them), a product summary shaped by a group-by run in the browser, orders and customers linked by customer, and a join for revenue by segment.
One authored storyboard, two ways to play. Press Play demo and a synthetic
human drives the real UI โ a ghost cursor glides across the dashboard dispatching genuine
clicks, filter selections and per-panel chart actions (great for screen recordings). The
same script compiles into the state-based Storyboard bar, which replays each step
as live dashboard state. Reuses the engine's committed playDemo driver.
Rebind a panel by dropping a data file on it โ driven automatically. A real
desktopโbrowser file drag canโt be synthesized, so the driver builds the File
in JS, puts it on a DataTransfer, and dispatches the genuine
dragenter โ dragover โ drop while a labelled file-ghost glides onto the
panel. A genuine import, no fake OS window.
A 60-patient trial as a storyboard: a guided tour with a player bar that walks the whole cohort, a saved filter scheme (the drug arm), a high-risk subgroup built from explicit filters, and one patient loaded on the case card. Each step is the live dashboard, so you can stop and explore. Also declares an insights threshold, shown as a strip when served by the app.
A 60-patient oncology cohort from three sources: expression
joined to clinical on patient_id, lab visits
related by patient (cross-source marking), a Filters panel
with saved schemes, an R data function ranking genes against
survival, and a per-patient KaplanโMeier curve.
A single OptionsWall composite over real IBM data (candlestick core
flanked by put/call walls). An Expiry slider swaps the chain
across 14 expiries and an IV/Premium toggle switches the flank metric โ
both mode:"config" controls driving updateConfig.
Live from ccle.sqlite: pick a gene โ violin distribution
by disease, genesรcell-lines heatmap, CNV-vs-RNA correlation (X/Y
selectors), and a mutations lollipop. Reproduces the retired
ccleServices.pl widget.
Live from tcga.sqlite: pick a gene โ its expression across
the 33 TCGA cancer types (violin + boxplot) and its somatic mutations
mapped over the gene body.
Live from gtex.sqlite: pick a gene โ its expression across
~54 GTEx tissues as a violin + boxplot.
Live from gencode.sqlite: pick a gene โ a genome browser
of its transcript exon models plus the GWAS Catalog SNPs in the
region.
Live from wp.sqlite: pick a human pathway โ its member
genes ranked by hub-ness (how many pathways each belongs to), plus a
member-gene table.
Manufacturing quality board: four ring meters (three averages โ yield, defect rate, on-time โ plus a total inspection count) over 500 inspection records, a 500-point yield run chart per line, and a 500-bar defect-rate chart. Line and Shift controls filter every panel.
โ๏ธ Open in BuilderTwo-arm oncology study (180 synthetic subjects): six reactive KPI ring-meters, a KaplanโMeier survival panel, a grouped biomarker boxplot, an age/biomarker scatter, a US enrollment choropleth, and response / adverse-event / enrollment panels. Arm and Sex controls filter every bound panel.
โ๏ธ Open in Builder60-sample immuno-oncology study: two boxplots with individual samples overlaid (IL-6 by group, TNF-ฮฑ by response), an IL-6 vs TNF-ฮฑ scatter, and a 24-gene inflammation heatmap. Treatment-group and response filter controls drive every panel.
โ๏ธ Open in BuilderScientific board over six RNA-seq datasets (>1,000 records each): a clustered expression heatmap, a differential-expression volcano, MA and two-contrast scatters, a 1,600-cell single-cell UMAP, a sample-count ring meter, a response-by-stage stacked bar, and a Kaplan-Meier survival curve.
โ๏ธ Open in BuilderA synthetic immuno-oncology trial (n=160): drop a survival table (time + 0/1 event) and get a KaplanโMeier panel with 95% confidence bands, censor rug, log-rank p-value and an at-risk table, split by treatment arm, beside a PD-L1 expression box plot.
โ๏ธ Open in BuilderA synthetic gene ร sample alteration matrix (mutation + copy-number tokens) rendered as a cBioPortal-style oncoprint โ alterations stacked per gene, samples ordered by burden โ above a per-gene alteration-frequency bar chart.
โ๏ธ Open in BuilderSelect genes in an expression heatmap and the same genes highlight in a differential-expression scatter โ a cross-source gene set keyed gene-to-gene across panels, the input a downstream enrichment panel would consume.
โ๏ธ Open in BuilderA selected gene set scored for over-representation against pathways
with the hypergeometric test and BenjaminiโHochberg FDR (p-values
match R's phyper/p.adjust) โ the โlog10 FDR
per pathway, the panel the Gene-Set Linkage selection feeds.
A Variant Call Format file (multi-sample, with INFO and genotype fields) parsed to a CanvasXpress data object โ variants per chromosome and variant quality by position, ready for a Manhattan or genome panel.
โ๏ธ Open in BuilderBackend-free showcase: three linked panels (Bar, Pie, Line) plus a broadcast-aware data table. Click anything โ selection coordinates across the board.
โ๏ธ Open in BuilderBackend-free KPI board: a Region filter control, three ring-card meters that summarize raw records into headline metrics, a grouped bar chart, and a 24-month trend line.
โ๏ธ Open in BuilderEvery panel shows an auto-derived method line footer (an aggregate pushdown, a trend line), and a button exports a reproducible bundle: self-contained spec + data snapshot + per-panel R & Python code + methods.md + a content-hash manifest.
โ๏ธ Open in BuilderHealth-economics board over 600 patient records across five indications: cost per patient, cost per QALY and cohort size (filtered by indication), a cost-effectiveness plane, the ICER vs standard of care, and a 12-month budget-impact trend.
โ๏ธ Open in BuilderReal database connection: revenue by region read live from a SQLite DB
(examples/data/sales.db) over /api/data into a
bar and a share pie, with caching and a 3s refresh.
Parameterized dashboard over a real SQLite database: a Region dropdown
and a debounced product Search re-query /api/data?source=salesProducts
server-side, and clicking a โRevenue by regionโ bar cross-filters every panel.
Genomics: clustered heatmap, oncoprint, and KaplanโMeier survival, packaged from distilled CSV tables + a recipe into one spec. Clustering and KM math run in the browser.
The product story behind the reproducible bench: raw run โ plain-language description โ recipe โ self-regenerating figures.