CanvasXpress Dashboards

Compose, coordinate, and render dashboards โ€” collections of linked CanvasXpress visualizations โ€” from a single declarative JSON spec. See the repository README for the library API.

The app

๐Ÿงฉ

Builder โ†’

The full application shell: Home, no-code Builder (drag panels, native CanvasXpress customizer), saved Dashboards, dataset uploads, sharing, and Settings. Uses the demo account automatically.

appno-codeserver API

Standalone examples

๐Ÿ“Œ

Pins Board Overview โ†’

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.

pinsPositpenguinsfilter
๐Ÿ“Œ

Pins Board (live connector) โ†’

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.)

pinsconnectorlivePosit
๐Ÿ“ˆ

ggplot Gallery โ†’

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.

ggplot2Rconversionno-code
๐Ÿ“Š

CanvasXpress Code Gallery โ†’

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.

ggplot2canvasXpressRPython
๐ŸŽฏ

Cross-Filter โ†’

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.

cross-filterrelationshipsmarkingno-code
๐Ÿงฌ

Cross-Filter โ€” Clinical ร— Expression โ†’

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.

cross-filtergenomicsheatmapclinical
๐Ÿฆ†

Parquet Explorer โ†’

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.

parquetduckdbpushdownlarge-dataconnector
๐Ÿ”†

Linked Selection โ€” Highlight โ†’

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.

markinghighlightrelationships
๐Ÿ‘ป

Linked Selection โ€” 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.

markingghostrelationships
๐Ÿ“ก

Live Ops โ†’

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.

livestreamingsserolling-window
๐Ÿงฎ

Sales Model โ†’

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.

calculated-fieldspushdownrelationshipsjoin
๐Ÿค–

Automated Demo โ†’

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.

demo-driverghost-cursorstoryboardscreen-recordingautomation
๐Ÿ“„

File-Drop Demo โ†’

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.

file-dropdemo-driverbuilderdata-importautomation
๐ŸŽฌ

Cohort Tour โ†’

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.

storyboardfilter-schemescase-drillinsightssurvival
๐Ÿงฌ

Cohort Explorer โ†’

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.

joinrelationshipsfilters-panelr-functionsurvival
๐Ÿ“Š

IBM Options Wall โ†’

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.

financeoptionswallsliderconfig-control
๐Ÿงซ

CCLE Gene Explorer (live) โ†’

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.

liveautocompleteviolingenome
๐Ÿฉบ

TCGA Gene Explorer (live) โ†’

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.

liveautocompleteviolingenome
๐Ÿง 

GTEx Gene Explorer (live) โ†’

Live from gtex.sqlite: pick a gene โ†’ its expression across ~54 GTEx tissues as a violin + boxplot.

liveautocompleteviolin
๐Ÿ“–

GENCODE Genome Browser (live) โ†’

Live from gencode.sqlite: pick a gene โ†’ a genome browser of its transcript exon models plus the GWAS Catalog SNPs in the region.

liveautocompletegenome
๐Ÿ”€

WikiPathways Explorer (live) โ†’

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.

liveautocompletebartable
โœ…

Quality Metrics โ†’

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.

meterslinebarcontrols
โœ๏ธ Open in Builder
๐Ÿ’Š

Clinical Trial โ†’

Two-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.

meterskaplan-meiermapboxplotcontrols
โœ๏ธ Open in Builder
๐Ÿงช

Biomarker Cohort โ†’

60-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.

boxplotscatterheatmapcontrols
โœ๏ธ Open in Builder
๐Ÿงฌ

Genomics Oncology Cohort โ†’

Scientific 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.

genomicsheatmapvolcanokaplan-meier
โœ๏ธ Open in Builder
๐Ÿ“ˆ

Survival Cohort โ†’

A 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.

survivalkaplan-meierclinical
โœ๏ธ Open in Builder
๐Ÿงฌ

Mutation Landscape โ†’

A 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.

genomicsoncoprintmutation
โœ๏ธ Open in Builder
๐Ÿ”—

Gene-Set Linkage โ†’

Select 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.

genomicsselectioncross-filter
โœ๏ธ Open in Builder
๐Ÿงช

Enrichment Analysis โ†’

A 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.

genomicsenrichmentstatistics
โœ๏ธ Open in Builder
๐Ÿงซ

VCF Variants โ†’

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.

genomicsvcfingestion
โœ๏ธ Open in Builder
๐Ÿ“Š

Sales Overview โ†’

Backend-free showcase: three linked panels (Bar, Pie, Line) plus a broadcast-aware data table. Click anything โ€” selection coordinates across the board.

inline databroadcast
โœ๏ธ Open in Builder
๐ŸŽฏ

KPI Overview โ†’

Backend-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.

inline datameters
โœ๏ธ Open in Builder
๐Ÿ”ฌ

Reproducible Provenance โ†’

Every 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.

provenancereproducibilityexport
โœ๏ธ Open in Builder
๐Ÿ’Š

HEOR Cost-Effectiveness โ†’

Health-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.

heormetersscattercontrols
โœ๏ธ Open in Builder
๐Ÿ“ก

Sales Live โ†’

Real 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.

databasesqliteconnectorlive refresh
๐ŸŽ›๏ธ

Live-data controls โ†’

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.

databaseparameterscross-filter
๐Ÿงฌ

Reproducible Bench โ†’

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.

genomicsspec generator
๐Ÿ“–

Bench Narrative โ†’

The product story behind the reproducible bench: raw run โ†’ plain-language description โ†’ recipe โ†’ self-regenerating figures.

story