# CanvasXpress (v74.3) > CanvasXpress treats a chart as a reproducible scientific artifact, not a disposable picture. One grammar-of-graphics engine — data → aesthetics → layers (geom × stat × position) → scales → coord → facet — is the same in JavaScript, R, Python and Julia, and renders 60+ scientific chart types from a single portable JSON specification (meta.cxplot) that can be stored, validated, compared, re-rendered and cited. Its point of view is four things no other tool offers together: scientific depth (clustered heatmaps with dendrograms, volcano, Kaplan-Meier, oncoprint, UpSet, genome browser, network, circular, Sankey, choropleth/symbol maps, 3D scatter and more, with in-chart hierarchical and k-means clustering and regression/loess/quantile fits with confidence bands), built-in reproducibility (a replayable audit trail of every committed action and a published, versioned JSON Schema), a cross-language grammar, and an agent-native interface (a Model Context Protocol server and a built-in AI copilot) — all in a source-available library you can self-host. The rest of the surface is evidence of that thesis rather than a grab-bag: data transforms, reference-line and range annotations, 20+ built-in themes, a themeable UI (dataUIStyle presets, light/dark/auto widgets via widgetsTheme or data-cx-ui-theme, each preset keeping its own accent colour in dark, --cx-ui-* CSS variables), an interactive data table, highlight/ghost/focus emphasis and screen-reader/keyboard accessibility, and KPI indicators — gauges, ring meters and bullet graphs that share one range/target model with qualitative range bands, reference targets and click-to-select tiles that broadcast to linked charts. It offers first-class R, Python and JavaScript APIs that share the same engine and grammar, a no-code interactive UI (zoom, filter, sort, transform, facet, broadcast) where selections and filters coordinate across every linked chart and a whole page can be saved and restored as a named view, with shelf-style field mapping (Marks/Facets/Filters) plus calculated fields, binning and aggregation, drill-down hierarchies (click a mark to filter and regroup to the next annotation level via drillHierarchy, with a breadcrumb and ESC to step up; dashboards add declarative drill-through actions), built-in time-series forecasting (exponential smoothing with prediction intervals, matching R's HoltWinters), a structured chart footer (notes, linked source, byline, Get-the-data CSV download, kept in image exports), editorial annotations (arrow/curved callouts with drag-to-place, direct end-of-line series labels), editorial chart types (parliament hemicycles, election half-donuts, before-to-after arrow plots), classed choropleths (Jenks natural breaks, quantile, equal width) with stepped legends and region labels, publishing tables (in-cell bars and sparklines, per-column number formats), an editorial publication theme and responsive width rules (responsiveRules config overrides per breakpoint, reverted on resize), locale-aware number formatting on every display surface (numberFormat presets, sprintf or locale/currency/compact specs, per-axis and per-tooltip/legend/data-label overrides), live streaming (pushData appends new readings to a chart and keeps a rolling window; dashboards subscribe panels to Server-Sent-Events streams without code), a reproducible audit trail where every committed action is a replayable grammar operation with undo/redo, a built-in AI copilot, a Model Context Protocol (MCP) server (canvasxpress-mcp) so AI agents can build and edit figures, and a connectors package (canvasxpress-connectors) for charting authenticated SQL databases, cloud warehouses, DuckDB/Parquet and Google Sheets without exposing credentials to the browser, and a dashboards package (canvasxpress-dashboards) — a no-code builder and portable JSON spec to compose, coordinate, persist and share linked charts, with pluggable storage (file/S3/Postgres/Google Drive), that can assemble a whole linked dashboard from one table, show deterministic insights (outliers, group differences, declared-threshold failures, each with its figures), play a storyboard (a guided tour of saved views with narration) and render natively from R (canvasXpressDashboards) and Python (canvasxpress-dashboards). It also meets users inside their tools: a Jupyter/Colab/marimo widget (canvasxpress-anywidget), a %%cxplot IPython magic, Streamlit and Dash components, a VS Code notebook renderer, a Quarto shortcode, an Observable module, and CanvasXpressBio for Bioconductor SummarizedExperiment objects. Charts are accessible: every rendered canvas carries a screen-reader text alternative (WCAG 2.1 role="img" plus a generated aria-label describing chart type, titles, axes, series/sample counts and value range) that regenerates whenever the chart updates (or the author's own alt text via a11yDescription, also written into SVG exports and as the tagged figure of PDF exports), plus a screen-reader data table, keyboard traversal of data points, a high-contrast theme and reduced-motion support. The figure format is a published standard: versioned JSON Schemas at /schema/ (cxfigure, cxplot and the full config parameter schema), a compatibility policy, a schema validator and a headless renderer exposed by canvasxpress-mcp (/validate, /render). Packaging is modern: npm ships an ESM entry with an exports map plus the UMD bundle and strict TypeScript definitions generated from the parameter registry (closed graphType union, per-graph-type CXConfigFor). Every GitHub release is archived on Zenodo (concept DOI 10.5281/zenodo.22261679); the preferred citation is the JOSS 2025 paper (doi:10.21105/joss.07529) and a CITATION.cff ships in the repository. The built-in AI assistant can be pointed at a self-hosted canvasxpress-mcp server (seven provider backends incl. fully local Ollama; keys stay on the server) and a page-level policy (meta canvasxpress-llm-outbound=off or CanvasXpress.llmOutbound=false) blocks all outbound inference. Licensing and hosting: the libraries are free and source-available — the JavaScript library under the CanvasXpress Community (Attribution) license (a commercial license removes the attribution mark), the R package under GPL-3 and the Python package under MIT. The open engine, every chart type and self-hosting are free; CanvasXpress Cloud is a hosted platform (managed dashboards, live data connectors and AI figure generation) offered in Community, Pro, AI and Enterprise plans (see /cloud.html). ## Documentation - [Documentation](https://www.canvasxpress.org/documentation.html): Core concepts and getting started - [Architecture](https://www.canvasxpress.org/architecture.html): Grammar-of-graphics engine and the meta.cxplot spec - [Spec](https://www.canvasxpress.org/spec.html): The versioned, published self-describing figure format + JSON Schemas + compatibility policy - [Quality](https://www.canvasxpress.org/quality.html): Visual-regression suite, CI, browser support and reproducibility signals - [Benchmarks](https://www.canvasxpress.org/benchmarks.html): Honest, reproducible six-library performance numbers (Plotly, ECharts, Chart.js, deck.gl) — including where others win - [Accessibility](https://www.canvasxpress.org/accessibility.html): WCAG 2.1 AA conformance report (VPAT-style): screen-reader, keyboard, high-contrast, reduced-motion - [Regulated & GxP](https://www.canvasxpress.org/compliance.html): How reproducibility, audit trail and self-describing exports support 21 CFR Part 11 / GxP workflows - [Quick Start](https://www.canvasxpress.org/quickstart.html): Install and first visualization - [Learn & Migrate](https://www.canvasxpress.org/migrate.html): First ten minutes, how the data model differs for newcomers (one wide variables-by-samples matrix; scatter maps variables to axes), ggplot2/Plotly translation guides, and eleven task recipes (volcano, Kaplan-Meier, oncoprint, heatmap, boxplot, PCA, correlation, network, time series, stacked bar, dose-response) in R, Python and JS - [Interfaces](https://www.canvasxpress.org/interfaces.html): R, Python, JavaScript, React and cxplot APIs - [MCP & Agents](https://www.canvasxpress.org/mcp.html): canvasxpress-mcp Model Context Protocol server for AI agents: generate, modify, select, km, map and upload; validate (JSON Schema, pointer-level errors) and headless render to close the loop; list-chart-types, params/axes/minimal-params/explain discovery; dashboard tools (suggest, compose, validate-spec, publish); schema:// and audit:// resources - [How to cite](https://www.canvasxpress.org/references.html#cite): JOSS 2025 paper (preferred citation), R-package BibTeX, per-release Zenodo DOIs, CITATION.cff - [Dashboards](https://www.canvasxpress.org/dashboards-guide.html): canvasxpress-dashboards no-code builder + portable JSON spec to compose, coordinate (broadcast), persist and share linked charts; a whole dashboard from one table, a scientific analysis environment (repro bundles, domain-native KM/oncoprint/genome/volcano panels, publication figure composer, statistical inference, FDR analysis controls), live data connectors, and R/Python packages; live builder at /dashboards/ - [Cloud & Pricing](https://www.canvasxpress.org/cloud.html): CanvasXpress Cloud — the hosted platform (shared dashboards, live SQL/streaming connectors, AI figure generation) priced in Community/Pro/AI/Enterprise plans; a separate surface from the free, source-available engine license - [R interface](https://www.canvasxpress.org/r-interface.html): library(canvasXpress) — CRAN package - [Python interface](https://www.canvasxpress.org/python-interface.html): pip install canvasxpress — PyPI package - [Julia interface](https://www.canvasxpress.org/julia-interface.html): CanvasXpress.jl — Julia General registry package (IJulia, Pluto, VS Code) - [cxplot interface](https://www.canvasxpress.org/cxplot-interface.html): Fluent grammar-of-graphics builder - [ggplot interface](https://www.canvasxpress.org/ggplot-interface.html): Convert ggplot2 plots to interactive charts - [Parameters](https://www.canvasxpress.org/parameters.html): Full configuration parameter reference - [Examples](https://www.canvasxpress.org/examples.html): Gallery of scientific examples - [Compare](https://www.canvasxpress.org/compare.html): CanvasXpress vs. Highcharts, Plotly, ECharts, D3, Chart.js, Tableau/Spotfire, Power BI and Datawrapper - [CanvasXpress vs. Spotfire](https://www.canvasxpress.org/canvasxpress-vs-spotfire.html): Long-form article: the engine and canvasxpress-dashboards vs. Spotfire, including where Spotfire is the better choice - [CanvasXpress vs. Tableau](https://www.canvasxpress.org/canvasxpress-vs-tableau.html): Long-form article: the engine and canvasxpress-dashboards vs. Tableau, including where Tableau is the better choice - [CanvasXpress vs. Plotly Dash](https://www.canvasxpress.org/canvasxpress-vs-dash.html): Long-form article: declarative CanvasXpress dashboards vs. Dash callback apps, with the same dashboard built both ways - [Data formats](https://www.canvasxpress.org/data.html): y/x/z data structures and file formats - [File loading](https://www.canvasxpress.org/files.html): Load JSON/XML/CSV/TSV/Parquet/GML/GPML/PNG/SVG/PDF plus .gz/.zip/.tar.gz archives (manifest, config+data pair, or single file) by drag-drop or URL - [Authenticated data](https://www.canvasxpress.org/authenticated-data.html): Chart SQL databases & Google Sheets via canvasxpress-connectors - [Audit trail](https://www.canvasxpress.org/audit.html): Reproducible, replayable interaction log - [Automated Demos](https://www.canvasxpress.org/demos.html): Script a tour of the real interface for demo videos: a ghost cursor drives menus, Customizer drag and drop, data table, filters and lasso (demo config + playDemo), recorded natively so it replays in the Workflow widget - [Highlighting & Selecting](https://www.canvasxpress.org/highlighting.html): Emphasize, ghost or focus data with highlightMode, selectionMode and highlightBy - [Forecasting](https://www.canvasxpress.org/forecasting.html): Project a time series forward with a prediction interval: showForecast (SES / Holt / Holt-Winters, as R stats::HoltWinters), per-group forecasts, date axes, and R forecast/geom_forecast drawn as-is - [Editorial Chart Types](https://www.canvasxpress.org/editorial-charts.html): Parliament charts (pieType parliament), election donuts (pieShape half), before-to-after arrow plots (dumbbellArrowDirection order), range plots and small multiples - [Annotations](https://www.canvasxpress.org/annotations.html): Editorial callouts with straight/curved arrow connectors to data points (drag-to-place writes fractions back to the config), free text notes, and direct end-of-line series labels (showLineEndLabels) replacing the legend - [Chart Footer](https://www.canvasxpress.org/chart-footer.html): Structured publication footer: notes, source with link, byline, Get-the-data CSV download and footerAlign; drawn on the canvas so PNG/SVG exports keep the attribution - [Number Formats](https://www.canvasxpress.org/number-formats.html): Locale-aware number formatting on every display surface: numberFormat plus tooltip/legend/dataLabel and per-axis overrides; presets (comma, percent, dollar, compact), sprintf, or {locale, style, currency, decimals}; Intl-backed, off by default - [UI styles](https://www.canvasxpress.org/ui-styles.html): Restyle every widget around a chart (toolbar, menus, Customizer, data table, filters, dialogs) with dataUIStyle, in light and dark via widgetsTheme; each style keeps its own accent colour in dark - [Live streaming](https://www.canvasxpress.org/streaming.html): Charts that follow data as it arrives: pushData appends readings and keeps a rolling streamWindow; dashboards subscribe panels to Server-Sent-Events streams (canvasxpress-connectors) without code - [Themes & Color Schemes](https://www.canvasxpress.org/themes.html): Restyle every non-data element with a named theme (theme config or setTheme: CanvasXpress, CanvasXpressDark, CanvasXpressBlue, CanvasXpressTraditional and themed palettes) and choose the data palette with colorScheme (User colors or built-in ColorBrewer schemes) - [Decorations & Reference Lines](https://www.canvasxpress.org/decorations.html): The decorations config: threshold/reference lines, shaded ranges, markers, points, on-chart text and fitted curves (1D: line/range/point/text/marker/error; scatter: linear/regression/polynomial/etc or shapes) drawn into every PNG/SVG/PDF export - [Statistical Fits & Clustering](https://www.canvasxpress.org/statistics.html): Regression (showRegressionFit, regressionType) and LOESS (showLoessFit) trend fits with a confidence band (showConfidenceIntervals, confidenceIntervalColor, fitLineColor), and heatmap clustering (samplesClustered/variablesClustered with distance/linkage, or k-means) - [Model Evaluation Plots](https://www.canvasxpress.org/model-evaluation.html): Classifier evaluation builders: rocConfig/prConfig (ROC & PR curves with AUC/AP + reference line), confusionConfig (confusion-matrix Heatmap with per-cell counts), calibrationConfig (reliability curve + ECE), learningCurveConfig (train/val lines), importanceConfig (feature-importance bar) and shapConfig (SHAP beeswarm) — standalone statics plus cx.* instance methods and R/Python wrappers - [Statistical Inference](https://www.canvasxpress.org/statistics-inference.html): Pairwise significance brackets with p-values or stars on Boxplot/Violin/Bar (showStatInference, statInference.comparisons), native multiple-testing correction (BH/bonferroni/BY/holm/hochberg, matching R p.adjust), an fdrThreshold that hides non-significant brackets, promoted volcano thresholds and effect-size + CI tiles; tests computed upstream in R/Python - [Exporting & Saving](https://www.canvasxpress.org/exporting.html): Save any chart as PNG, SVG, PDF or JSON, or print it, from the right-click menu or the API; image exports keep titles, legends, decorations and the footer, and the JSON export is the reproducible self-describing spec - [AI copilot](https://www.canvasxpress.org/llm.html): Generate chart specs from plain English - [Integrations](https://www.canvasxpress.org/integration.html): Install + examples for HTML, Python, Jupyter/VS Code notebooks, Streamlit, Dash, R, Bioconductor, React, Vue, Quarto, Observable - [Updates](https://www.canvasxpress.org/updates.html): Changelog - [Changelog](https://www.canvasxpress.org/changelog.html): Curated user-facing release notes and the versioning / release-channel policy - [Governance](https://www.canvasxpress.org/governance.html): Maintainers, decision-making, release process and succession guarantees - [Support](https://www.canvasxpress.org/support.html): Community support and commercial support tiers with response commitments - [License text](https://www.canvasxpress.org/LICENSE.txt): Verbatim CanvasXpress Community License file ## Knowledge base (machine-readable, for LLMs) - [Capabilities](https://www.canvasxpress.org/data/md/CAPABILITIES.md): What CanvasXpress can do today — shipped features across charting, interactivity, data, ecosystem and reproducibility - [Feature inventory](https://www.canvasxpress.org/data/md/FEATURES.md): Complete generated map of every graph type and parameter category, grouped by family, with also-known-as terms from other tools (machine-readable: /data/md/features.json) - [Overview](https://www.canvasxpress.org/data/md/OVERVIEW.md): Working minimal call for every graph type - [Minimal parameters](https://www.canvasxpress.org/data/md/MINIMAL-PARAMETERS.md): Minimal required config per graph type - [Schema](https://www.canvasxpress.org/data/md/SCHEMA.md): Data and configuration schema - [Config JSON Schema](https://www.canvasxpress.org/schema/canvasxpress-config-latest.schema.json): Every documented config parameter with type, default and allowed values (JSON Schema, generated from the engine registry) - [Figure JSON Schema](https://www.canvasxpress.org/schema/cxfigure-1.0.schema.json): The persisted {data, config} self-describing figure format - [cxplot JSON Schema](https://www.canvasxpress.org/schema/cxplot-1.0.schema.json): The materialized grammar-of-graphics spec - [Decision tree](https://www.canvasxpress.org/data/md/DECISION-TREE.md): Choosing the right chart type - [Rules](https://www.canvasxpress.org/data/md/RULES.md): Config generation rules and constraints - [Parameter compatibility](https://www.canvasxpress.org/data/md/PARAMETER-COMPATIBILITY-MATRIX.md): Which parameters apply per graph type - [Comparison](https://www.canvasxpress.org/data/md/COMPARISON.md): CanvasXpress vs other libraries - [Chain of thought](https://www.canvasxpress.org/data/md/CHAIN-OF-THOUGHT.md): Requirement → config reasoning - [Contradictions](https://www.canvasxpress.org/data/md/CONTRADICTIONS.md): Common config pitfalls to avoid ## Packages & source - [Source (GitHub)](https://github.com/neuhausi/canvasXpress) - [MCP server (GitHub)](https://github.com/neuhausi/canvasxpress-mcp) - [Connectors (GitHub)](https://github.com/neuhausi/canvasxpress-connectors) - [Dashboards (GitHub)](https://github.com/neuhausi/canvasxpress-dashboards) - [Dashboards package (npm)](https://www.npmjs.com/package/canvasxpress-dashboards) - [Dashboards for Python (PyPI)](https://pypi.org/project/canvasxpress-dashboards/) - [LLM knowledge base (GitHub)](https://github.com/neuhausi/canvasxpress-LLM) - [R package (CRAN)](https://cran.r-project.org/package=canvasXpress) - [Python package (PyPI)](https://pypi.org/project/canvasxpress/) - [Connectors package (PyPI)](https://pypi.org/project/canvasxpress-connectors/) - [Notebook widget canvasxpress-anywidget (PyPI)](https://pypi.org/project/canvasxpress-anywidget/) - [IPython %%cxplot magic canvasxpress-magic (PyPI)](https://pypi.org/project/canvasxpress-magic/) - [Streamlit component canvasxpress-streamlit (PyPI)](https://pypi.org/project/canvasxpress-streamlit/) - [Dash component canvasxpress-dash (PyPI)](https://pypi.org/project/canvasxpress-dash/) - [VS Code notebook renderer (Marketplace)](https://marketplace.visualstudio.com/items?itemName=canvasxpress.canvasxpress-vscode) - [Quarto shortcode extension (GitHub)](https://github.com/neuhausi/canvasxpress-quarto) - [Observable module in canvasxpress-js (GitHub)](https://github.com/neuhausi/canvasxpress-js) - [CanvasXpressBio for Bioconductor (GitHub)](https://github.com/neuhausi/CanvasXpressBio) - [JavaScript package (npm — ESM + UMD + TypeScript defs)](https://www.npmjs.com/package/canvasxpress) - [cxspec — the published figure spec + converters (GitHub)](https://github.com/neuhausi/cxspec) - [Zenodo archive (concept DOI)](https://doi.org/10.5281/zenodo.22261679) - [JOSS paper (preferred citation)](https://doi.org/10.21105/joss.07529) ## Optional - [Full knowledge base](https://www.canvasxpress.org/llms-full.txt): Summary plus inlined KB - [Full site map](https://www.canvasxpress.org/sitemap.xml): Every indexable page --- # Knowledge base (inlined) ## Capabilities — /data/md/CAPABILITIES.md # CanvasXpress Capabilities A machine-readable summary of what CanvasXpress can do today, for LLMs and site search. Every entry below describes a **shipped, publicly available** capability. This file is a curated source — it is published to `/data/md/CAPABILITIES.md`, linked from `llms.txt`, and indexed by the site search. Keep it product-accurate; do not add internal, planned, or deferred work here. > Extend this file by distilling shipped work: `tools/kb/distill-plan.py --kind web` > produces a leak-checked product-narrative draft you can curate into a section below. > Entries name the config parameters (in `code`) and common alternative terms ("also known > as") so a search in another product's vocabulary still finds the feature. ## Charting - **60+ native graph types** from one unified config: - **Everyday:** bar, stacked / percent-stacked, line, area, pie, donut, scatter, bubble, histogram, waterfall, Pareto, lollipop, dumbbell, Cleveland dot, bump, radar, gantt, tornado, word/tag cloud. - **Distributions:** boxplot, violin, dotplot, density, ridgeline, CDF, QQ, hexbin / 2D bin, contour. - **Scientific:** heatmap, correlation matrix, scatter-plot matrix (SPLOM), parallel coordinates, volcano, Manhattan, Kaplan-Meier survival, oncoprint, UpSet, Venn, genome browser, circular (Circos-style) with ideograms, Visium spatial plots, fish plots. - **Flows and hierarchies:** network, Sankey, alluvial, chord, tree, tree bracket, treemap, sunburst, streamgraph. - **3D:** 3D scatter. - **KPI and finance:** meter / gauge and bullet graphs sharing one range/target model; OptionsWall (candlesticks plus an options chain on a shared price axis). - **Grammar-of-graphics rendering** — layered geoms, stats, scales, coordinate systems and faceting, so complex multi-panel figures come from a declarative specification. - **Faceting / small multiples / trellis** — `segregateSamplesBy`, `segregateVariablesBy`, `layoutType` (wrap / rows / cols); combination plots share axes across panels. - **Maps (geographic, choropleth, symbol maps)** — `graphType: "Map"` with TopoJSON / GeoJSON (`topoJSON`). Built-in basemaps cover continents, countries, US states and US zip codes (`mapId`, `mapZipCodeIds`). Mercator, Albers and orthographic projections (`mapProjection`), optional Leaflet tile basemaps, markers, connections between locations, and pie charts on regions. - **ggplot2 import and visual parity** — R ggplot2 plots convert to CanvasXpress and render with close visual fidelity (element and legend order, colour/fill/size/shape/linetype/alpha). - **Time-series forecasting** — `showForecast` projects a regularly spaced series forward with a prediction interval using exponential smoothing (SES, Holt, Holt-Winters; matches R `stats::HoltWinters`), per group or on date axes, extending the axis over the horizon. R `forecast` plots (`autoplot(forecast(...))`, `geom_forecast()`) are drawn from R's own forecast. - **Live streaming** — `pushData(message)` appends new samples to a chart and keeps a rolling window (`streamWindow`, oldest dropped), recomputing fits and filters over the window; about 2 ms per update. In dashboards, a `kind: "live"` source subscribes a panel to a Server-Sent-Events stream from canvasxpress-connectors (no credential in the browser), built without code. Dashboard-live cadence (seconds); no stream analytics or event processing. ## Analytics built into the chart - **Hierarchical clustering with dendrograms** — `samplesClustered` / `variablesClustered`, with euclidean, manhattan or max distance (`clusteringDistance`) and single, complete or average linkage (`linkage`). Missing values are imputed by mean or median (`imputeMethod`). - **K-means clustering** — `samplesKmeaned` / `variablesKmeaned` with a set number of clusters. - **Regression and fit lines** — linear, exponential, logarithmic, power and polynomial (`regressionType`), loess smoothing, quantile regression, confidence intervals (`confidenceLevel`) and error ellipses (`ellipseBy`). - **Statistical summaries** — box/violin statistics, kernel density, histograms, CDF, QQ, error bars, correlation matrices, Kaplan-Meier survival curves. - **Network analysis** — force-directed, circular, radial and constraint-based (cola) layouts (`networkLayoutType`); community detection (Louvain) with convex hulls. - **Data transforms** — log2/log10, exponential, square root, percentile, z-score and ratio (`transformData`), applied and undone in the chart. - **Data wrangling** — a declarative dplyr/tidyr-style pipeline (`dataPipeline`), flexible group-by aggregation (`aggregations`), and calculated fields from formulas (`calculatedFields`, a safe evaluator with no `eval`). ## Styling and annotation - **Titles, subtitles and citations** — `title`, `subtitle`, `citation`, each with its own font, colour and alignment. - **Annotations (also known as reference lines, range highlights, shaded bands, callouts)** — `decorations` with `line`, `range`, `text`, `point` and `marker` entries drawn in data coordinates. - **20+ themes** — `theme`, including ggplot, bw, minimal, classic, Economist, Wall Street Journal, Tableau, Excel, Stata, solarized, dark and high-contrast. - **Colour** — named colour schemes, gradients, transparency, and colourblind simulation (deuteranopia, protanopia) from the menu. - **Highlight / ghost / focus** — `highlightMode` and `selectionMode` emphasise chosen samples and grey out the rest (gghighlight-style), declaratively or by selection. - **Animations and transitions** — animated first render and transitions between states (`transitionType`, `transitionStep`). - **Responsive sizing** — the `data-responsive` and `data-aspectRatio` canvas attributes let the chart follow its container. ## Interactivity - **Built-in interactivity** — hover tooltips, click/double-click events, zoom, pan, brushing, lasso selection, filtering and highlighting without extra code. - **Live customizer** — an in-chart UI for restyling, reconfiguring, and reshaping data, including shelf-style authoring and calculated fields. - **Data filters** — filter by sample, variable, network node/edge or genome feature annotations (`filterSmpBy`, `filterVarBy`, `filterNodeBy`, `filterEdgeBy`, `filterFeatureBy`), combined with and/or, hiding or greying out filtered data. - **Data table view** — the chart's data as a table with search, sorting, pagination, pinned columns, per-column width/alignment/format (`dataTable*`). - **Undo / redo and history** — committed actions (data, config, filters, sorting, clustering, transforms) form an undo/redo stack; the steps export as a replayable recipe. - **Saved states** — named authoring states per chart, and page-level states that save and restore every chart on a page together. - **Natural-language charting** — describe a chart in plain English to generate or modify its config, using the built-in service or your own (`llmServiceURL`). - **Dashboards** — multiple linked charts with shared filters, joins/relationships between data sources, and saved page-level states across every chart on a page. ## Accessibility - **Screen-reader support** — each chart gets a generated text summary (graph type, title, axes, series counts and value range) and an off-screen data table, kept in sync as the data changes, with live-region announcements. - **Keyboard** — the chart is focusable, arrow keys move between data points, widgets are keyboard-operable, and a visible focus outline is shown. - **High-contrast theme and reduced motion** — transitions are skipped when the operating system requests reduced motion. - **Conformance report** — WCAG 2.1 AA report (VPAT-style) at `/accessibility.html`. ## Data & performance - **Tidy and matrix data** — accepts long/tidy and wide/matrix inputs, with grouping, transforms, and aggregation handled by the engine. - **File formats** — JSON, CSV/TSV and other delimited text, Apache Parquet, and GML/GPML network files (including WikiPathways GPML). - **Missing data** — configurable missing-value token, colour and handling in transforms. - **Large datasets** — decimation and bounded measurement keep large scatter and dense charts responsive. ## Ecosystem & APIs - **JavaScript, R, and Python** — the same chart specification works across a browser `new CanvasXpress(...)` call, the R htmlwidget, and the Python package. - **Notebook and framework support** — Jupyter, Dash, Shiny, Streamlit, Flask, Quarto, and Observable. - **Export** — charts export to PNG (high-resolution via `printMagnification`), SVG, vector PDF (`savePDF()`: native writer, tagged with the alt text, chart JSON attached and re-loadable), and reproducible JSON/config. ## Reproducibility - **Round-trip save and load** — a chart's full state serialises to config and reloads to the identical view, so figures are reproducible and shareable. ## Feature inventory — /data/md/FEATURES.md # CanvasXpress Feature Inventory A complete, generated map of CanvasXpress features (v74.3): 70 graph types (65 distinct; the rest are alternative names) and 1807 configuration parameters in 141 categories, grouped into families. Each entry lists its key parameters, the graph types it applies to, documentation, gallery examples, and **also known as** terms used by other tools, so a search in any vocabulary finds it. Generated from the engine's parameter registry, so it matches the shipped code. The full parameter reference is in `SCHEMA.md` and the config JSON Schema. ## Families - **Everyday charts** — Business and general-purpose chart types. - **Distributions and multivariate charts** — Charts that show the shape of data and relationships between many variables. - **Scientific and omics charts** — Chart types for genomics, clinical and life-science data. - **Networks, flows and hierarchies** — Graphs of connections, flows between stages and nested structures. - **Maps** — Geographic maps: choropleth, symbol and connection maps. - **KPI and finance** — Indicator gauges, bullet graphs and financial composites. - **Analytics built into the chart** — Clustering, statistics, fits and forecasts computed inside the chart. - **Data handling and wrangling** — Input formats, filtering, sorting, selection, transforms and reshaping. - **Layout, faceting and axes** — Panels, small multiples, axes, margins and plot areas. - **Styling, themes and annotation** — Colours, themes, titles, legends, annotations and animation. - **Interactivity and authoring** — Tooltips, zoom, events, menus, the Customizer, data table and history. - **Accessibility** — Screen-reader, keyboard and visual accessibility. - **AI and natural language** — Generating and modifying charts from plain English. - **Export, integration and reproducibility** — Image export, language bindings, specs and platform services. ## Everyday charts Business and general-purpose chart types. ### Graph types - **Area** (`graphType: "Area"`) — Area chart, stacked or overlapping. Also known as: area chart, stacked area. Examples: [1](https://www.canvasxpress.org/examples/area-1.html), [2](https://www.canvasxpress.org/examples/area-2.html), [3](https://www.canvasxpress.org/examples/area-3.html) (26 in the gallery). - **AreaLine** (`graphType: "AreaLine"`) — Area chart combined with lines on a second axis. Also known as: area and line. Examples: [1](https://www.canvasxpress.org/examples/arealine-1.html), [2](https://www.canvasxpress.org/examples/arealine-2.html), [3](https://www.canvasxpress.org/examples/arealine-3.html) (6 in the gallery). - **Bar** (`graphType: "Bar"`) — Bar and column chart (grouped; lollipop, arrow, bullet and swimmer variants via barType). Also known as: bar chart, column chart, grouped bar, arrow bars, split bars, bar chart with value labels. Examples: [1](https://www.canvasxpress.org/examples/bar-1.html), [2](https://www.canvasxpress.org/examples/bar-2.html), [3](https://www.canvasxpress.org/examples/bar-3.html) (45 in the gallery). - **BarLine** (`graphType: "BarLine"`) — Bars combined with lines on a second axis. Also known as: combo chart, bar and line, dual axis chart. Examples: [1](https://www.canvasxpress.org/examples/barline-1.html), [2](https://www.canvasxpress.org/examples/barline-2.html), [3](https://www.canvasxpress.org/examples/barline-3.html) (4 in the gallery). - **Bump** (`graphType: "Bump"`) — Bump chart of rank changes over time. Also known as: bump chart, rank chart. Examples: [1](https://www.canvasxpress.org/examples/scatter2d-18.html). - **Cleveland** (`graphType: "Cleveland"`) — Cleveland dot plot. Also known as: cleveland dot plot, dot chart. - **Donut** (`graphType: "Donut"`) — Donut chart. Also known as: donut chart, doughnut, ring chart. - **DotLine** (`graphType: "DotLine"`) — Dot plot combined with lines on a second axis. Also known as: dot and line. Examples: [1](https://www.canvasxpress.org/examples/dotline-1.html), [2](https://www.canvasxpress.org/examples/dotline-2.html), [3](https://www.canvasxpress.org/examples/dotline-3.html). - **Dotplot** (`graphType: "Dotplot"`) — Dot plot of values per category. Also known as: dot plot, strip plot, jitter plot. Examples: [1](https://www.canvasxpress.org/examples/dotplot-1.html), [2](https://www.canvasxpress.org/examples/dotplot-2.html), [3](https://www.canvasxpress.org/examples/dotplot-3.html) (19 in the gallery). - **Dumbbell** (`graphType: "Dumbbell"`) — Dumbbell chart comparing two values per category. Also known as: dumbbell chart, connected dot plot, barbell chart, range plot, arrow plot, before after arrow chart, before after arrow plot, arrow dumbbell. Examples: [1](https://www.canvasxpress.org/examples/dumbbell-1.html), [2](https://www.canvasxpress.org/examples/dumbbell-2.html), [3](https://www.canvasxpress.org/examples/dumbbell-3.html) (17 in the gallery). - **Gantt** (`graphType: "Gantt"`) — Gantt chart of tasks over time. Also known as: gantt chart, timeline, project schedule. Examples: [1](https://www.canvasxpress.org/examples/gantt-1.html), [2](https://www.canvasxpress.org/examples/gantt-2.html), [3](https://www.canvasxpress.org/examples/gantt-3.html) (6 in the gallery). - **Line** (`graphType: "Line"`) — Line chart. Also known as: line chart, slope chart, slope graph. Examples: [1](https://www.canvasxpress.org/examples/line-1.html), [2](https://www.canvasxpress.org/examples/line-3.html), [3](https://www.canvasxpress.org/examples/line-4.html) (11 in the gallery). - **Lollipop** (`graphType: "Lollipop"`) — Lollipop chart. Also known as: lollipop chart. - **Pareto** (`graphType: "Pareto"`) — Pareto chart (sorted bars plus cumulative line). Also known as: pareto chart. - **Pie** (`graphType: "Pie"`) — Pie chart; pieShape:'half' gives a semicircle (election donut with pieInnerRadius) and pieType:'parliament' a seat-dot hemicycle. Also known as: pie chart, parliament chart, parliament, hemicycle, seat chart, election chart, half donut, semicircle donut, election donut, half pie, semicircle pie. Examples: [1](https://www.canvasxpress.org/examples/pie-1.html), [2](https://www.canvasxpress.org/examples/pie-2.html), [3](https://www.canvasxpress.org/examples/pie-3.html) (7 in the gallery). - **Radar** (`graphType: "Radar"`) — Radar chart. Also known as: radar chart, spider chart, web chart, star plot. - **Scatter2D** (`graphType: "Scatter2D"`) — 2D scatter plot, the base for fits, densities, histograms, KM curves and more. Also known as: scatter plot, scatter chart, xy plot, beeswarm, convex hull chart. Examples: [1](https://www.canvasxpress.org/examples/scatter2d-1.html), [2](https://www.canvasxpress.org/examples/scatter2d-2.html), [3](https://www.canvasxpress.org/examples/scatter2d-3.html) (143 in the gallery). - **ScatterBubble2D** (`graphType: "ScatterBubble2D"`) — 2D scatter with sized bubbles. Also known as: bubble chart, bubble plot. Examples: [1](https://www.canvasxpress.org/examples/scatterbubble2d-1.html), [2](https://www.canvasxpress.org/examples/scatterbubble2d-2.html), [3](https://www.canvasxpress.org/examples/scatterbubble2d-3.html) (5 in the gallery). - **Spaghetti** (`graphType: "Spaghetti"`) — Spaghetti plot of many individual trajectories. Also known as: spaghetti plot, trajectories. - **Stacked** (`graphType: "Stacked"`) — Stacked bar chart. Also known as: stacked bar, stacked column. Examples: [1](https://www.canvasxpress.org/examples/stacked-1.html), [2](https://www.canvasxpress.org/examples/stacked-2.html), [3](https://www.canvasxpress.org/examples/stacked-3.html) (12 in the gallery). - **StackedLine** (`graphType: "StackedLine"`) — Stacked bars combined with lines on a second axis. Also known as: stacked bar and line. Examples: [1](https://www.canvasxpress.org/examples/stackedline-1.html), [2](https://www.canvasxpress.org/examples/stackedline-2.html). - **StackedPercent** (`graphType: "StackedPercent"`) — 100% stacked bar chart. Also known as: 100% stacked, percent stacked, proportional bar. Examples: [1](https://www.canvasxpress.org/examples/stackedpercent-1.html), [2](https://www.canvasxpress.org/examples/stackedpercent-2.html), [3](https://www.canvasxpress.org/examples/stackedpercent-3.html) (5 in the gallery). - **StackedPercentLine** (`graphType: "StackedPercentLine"`) — 100% stacked bars combined with lines. Also known as: percent stacked and line. Examples: [1](https://www.canvasxpress.org/examples/stackedpercentline-1.html), [2](https://www.canvasxpress.org/examples/stackedpercentline-2.html). - **Streamgraph** (`graphType: "Streamgraph"`) — Streamgraph (centred stacked areas). Also known as: streamgraph, stream graph, themeriver. - **TagCloud** (`graphType: "TagCloud"`) — Tag / word cloud. Also known as: tag cloud. Examples: [1](https://www.canvasxpress.org/examples/tagcloud-1.html). - **TimeSeries** (`graphType: "TimeSeries"`) — Time-series chart on a date axis. Also known as: time series chart, timeline chart. - **Tornado** (`graphType: "Tornado"`) — Tornado chart (back-to-back horizontal bars). Also known as: tornado chart, butterfly chart, population pyramid. - **Waterfall** (`graphType: "Waterfall"`) — Waterfall chart of cumulative changes. Also known as: waterfall chart, bridge chart. Examples: [1](https://www.canvasxpress.org/examples/waterfall-4.html), [2](https://www.canvasxpress.org/examples/waterfall-5.html), [3](https://www.canvasxpress.org/examples/waterfall-6.html) (4 in the gallery). - **WordCloud** (`graphType: "WordCloud"`) — Word cloud. Alternative name for TagCloud. Also known as: word cloud, wordcloud. ### Features - **Area Graphs** — General parameters in area graphs. Parameters: `areaType`, `areaStyle`, `areaShowColumns`, `areaColumnWidth`. Applies to: Area, AreaLine. - **Bar Graphs** — General parameters in bar graphs. Parameters: `barType`, `barZero`. Applies to: Bar, BarLine, Bullet, Lollipop, Pareto, Waterfall. - **Dotplot Graphs** — General parameters in dotplot graphs. Parameters: `dotplotType`. Applies to: Boxplot, Cleveland, DotLine, Dotplot, Dumbbell, Violin. - **Dumbbell Graphs** — General parameters in dumbbell graphs. Parameters: `dumbbellType`, `dumbbellArrowDirection`. Applies to: Boxplot, Cleveland, DotLine, Dotplot, Dumbbell, Violin. - **Gantt Charts** — General parameters in gantt charts. Parameters: `ganttStart`, `ganttEnd`, `ganttCompletion`, `ganttDependency`, `ganttDependencyEnd`, `ganttDependencyColor`, `ganttDependencyThickness`, `ganttCompletionTransparency`. Applies to: Gantt. - **Line Graphs** — General parameters in line graphs. Parameters: `lineDecoration`, `lineErrorType`, `coordinateLineColor`, `lineType`, `tension`, `tensionSegments`, `showLineEndLabels`. Applies to: Area, AreaLine, BarLine, DotLine, Line, ParallelCoordinates, Pareto, StackedLine, StackedPercentLine. - **Lollipop Graphs** — General parameters in lollipop graphs. Parameters: `barLollipopOpen`. Applies to: Bar. - **Pie Charts** — General parameters in pie charts. Parameters: `pieType`, `pieShape`, `pieSegmentPrecision`, `pieSegmentSeparation`, `pieSegmentLabels`, `pieLabelType`, `maxPieSectors`, `showPieValues` and 4 more. Applies to: Pie. - **Scatter Plots** — General parameters in scatter plots. Parameters: `dataLabelBackgroundBorderColor`, `dataLabelBackgroundBorderLineType`, `dataLabelBackgroundBorderSize`, `dataLabelBackgroundColor`, `functionColor`, `groupingFactorWindow`, `isBumpPlot`, `isDataLabels` and 9 more. - **Stream Plots** — General parameters in scatter plots. Parameters: `scatterStreamType`, `scatterStreamBandwidth`, `scatterStreamNumber`, `scatterStreamExtraSpan`, `scatterStreamTrueRange`, `scatterStreamWiggles`. Applies to: Scatter2D. - **Tag Cloud** — General parameters used in tag clouds. Parameters: `tagCloudTextWeightFactor`, `tagCloudTextGridSize`, `tagCloudTextEllipticity`, `tagCloudTextRotateRatio`, `tagCloudShape`. Applies to: TagCloud. - **Waterfall Graphs** — General parameters in waterfall graphs. Parameters: `waterfallNetColor`, `waterfallIncreaseColor`, `waterfallDecreaseColor`. Applies to: Bar. ## Distributions and multivariate charts Charts that show the shape of data and relationships between many variables. ### Graph types - **Boxplot** (`graphType: "Boxplot"`) — Box-and-whisker plot with outliers, notches and overlaid points. Also known as: box plot, box and whisker. Examples: [1](https://www.canvasxpress.org/examples/boxplot-1.html), [2](https://www.canvasxpress.org/examples/boxplot-2.html), [3](https://www.canvasxpress.org/examples/boxplot-3.html) (71 in the gallery). - **Bin** (`graphType: "Bin"`) — 2D binned scatter (rectangular bins). Also known as: 2d histogram, bin2d. - **Binplot** (`graphType: "Binplot"`) — 2D binned plot (rectangular bins). Alternative name for Bin. Also known as: binplot. - **CDF** (`graphType: "CDF"`) — Empirical cumulative distribution function. Also known as: ecdf, cumulative distribution. - **Contour** (`graphType: "Contour"`) — Contour plot of a 2D density or surface. Also known as: contour. Examples: [1](https://www.canvasxpress.org/examples/contour-6.html). - **Correlation** (`graphType: "Correlation"`) — Correlation matrix plot. Also known as: correlation heatmap, correlogram. Examples: [1](https://www.canvasxpress.org/examples/correlation-1.html), [2](https://www.canvasxpress.org/examples/correlation-2.html), [3](https://www.canvasxpress.org/examples/correlation-3.html). - **Density** (`graphType: "Density"`) — Kernel density plot. Also known as: density plot. - **Distribution** (`graphType: "Distribution"`) — Distribution plot (same renderer as Histogram). Alternative name for Histogram. Also known as: distribution chart. - **Hex** (`graphType: "Hex"`) — Hexagonal-bin scatter. Also known as: hexbin, hexagonal binning. - **Hexplot** (`graphType: "Hexplot"`) — Hexagonal-bin plot. Alternative name for Hex. Also known as: hexplot. - **Histogram** (`graphType: "Histogram"`) — Histogram with configurable bins. Also known as: histogram. - **ParallelCoordinates** (`graphType: "ParallelCoordinates"`) — Parallel coordinates plot. Also known as: parallel coordinates, parallel axes. Examples: [1](https://www.canvasxpress.org/examples/parallelcoordinates-1.html), [2](https://www.canvasxpress.org/examples/parallelcoordinates-2.html). - **QQ** (`graphType: "QQ"`) — Quantile-quantile plot. Also known as: qq plot, q-q plot. - **Quantile** (`graphType: "Quantile"`) — Quantile-quantile plot (same renderer as QQ). Alternative name for QQ. Also known as: quantile-quantile. - **Ridgeline** (`graphType: "Ridgeline"`) — Ridgeline plot of stacked densities. Also known as: ridgeline, joy plot, ggridges. - **Scatter3D** (`graphType: "Scatter3D"`) — 3D scatter plot with rotation. Also known as: 3d scatter, 3d plot. Examples: [1](https://www.canvasxpress.org/examples/scatter3d-1.html), [2](https://www.canvasxpress.org/examples/scatter3d-2.html), [3](https://www.canvasxpress.org/examples/scatter3d-3.html) (15 in the gallery). - **SPLOM** (`graphType: "SPLOM"`) — Scatter-plot matrix. Also known as: scatterplot matrix, pairs plot, ggpairs. - **Violin** (`graphType: "Violin"`) — Violin plot. Also known as: violin plot. ### Features - **Bin Plots** — Parameters used to create bin plots in 2d scatter plots. Parameters: `binplotBins`, `binplotBinWidth`, `binplotShape`, `binplotColorScheme`. Applies to: Bin, Binplot, Hex, Hexplot, Scatter2D. Also known as: 2d binning. - **Boxplot Graphs** — General parameters in Boxplot Graphs. Parameters: `boxplotOutliersRatio`, `boxplotOutliersColor`, `boxplotOutliersBorderColor`, `boxplotOutliersShape`, `boxplotWhiskersType`, `boxplotType`, `boxplotNotched`, `boxplotTransparency` and 15 more. Applies to: Boxplot. - **Contours** — Parameters used to create contours in one and two dimensional plots. Parameters: `isContour`, `contourFilled`, `contourFilledTransparency`, `showContourBands`, `contourBandsColor`, `contourLevelWidth`, `contourLevelNumber`, `contourPoints` and 7 more. Applies to: Pareto, Heatmap, Scatter2D. Also known as: contour plot, 2d density contour. - **Correlation Graphs** — General parameters for correlation. Parameters: `correlationAxis`, `correlationAnchorLegend`, `correlationAnchorLegendAlignWidth`, `correlationLabelInterval`, `correlationType`. Applies to: Correlation. Also known as: correlation matrix, correlogram, corrplot. - **Density Plots** — Parameters used to create density plots in 1d and 2d scatter plots. Parameters: `showScatterDensity`, `densityKernel`, `densityPosition`, `bandwidthRule`, `bandwidthCut`, `bandwidthAdjust`, `densityPoints`. Applies to: Density, Distribution, Histogram, Ridgeline, Violin. Also known as: kde, kernel density. - **General One Dimensional Graphs** — General properties used in one dimensional visualizations. Parameters: `graphOrientation`, `invertGraph`. - **Histograms** — Parameters used to create histograms in 2d scatter plots. Parameters: `histogramAsDotplot`, `histogramBinWidth`, `histogramBins`, `histogramBreaks`, `histogramDensityFillTransparency`, `histogramDotplotBorderColor`, `histogramDotplotBorderLineType`, `histogramDotplotBorderSize` and 21 more. Applies to: Scatter2D. - **Parallel Coordinates Graphs** — General parameters in Parallel Coordinates Graphs. Applies to: ParallelCoordinates. - **Ridgeline Plots** — Parameters used to create ridgeline plots in 1d and 2d scatter plots. Parameters: `ridgelineScale`, `ridgelineViolin`. Applies to: Scatter2D. - **Scatter Plot Matrix** — Parameters used to create a matrix of 2d scatter plots. Parameters: `scatterPlotMatrix`, `scatterPlotMatrixType`, `showScatterPlotMatrixLabels`. Applies to: Scatter2D. - **Violin Plots** — General parameters in Boxplot Graphs. Parameters: `showViolinBoxplot`, `violinTrim`, `violinScale`, `showBoxplotIfViolin`, `boxplotWidthRatioIfViolin`, `violinTransparency`, `violinColor`, `violinBorderColor` and 4 more. Applies to: Boxplot. ## Scientific and omics charts Chart types for genomics, clinical and life-science data. ### Graph types - **Circular** (`graphType: "Circular"`) — Circos-style circular plot with tracks, arcs, connections and ideograms. Also known as: circos, circular genome plot. Examples: [1](https://www.canvasxpress.org/examples/circular-1.html), [2](https://www.canvasxpress.org/examples/circular-2.html), [3](https://www.canvasxpress.org/examples/circular-3.html) (31 in the gallery). - **Fish** (`graphType: "Fish"`) — Fish plot of clonal evolution over time. Also known as: fish plot, clonal evolution, muller plot. Examples: [1](https://www.canvasxpress.org/examples/fish-1.html), [2](https://www.canvasxpress.org/examples/fish-2.html), [3](https://www.canvasxpress.org/examples/fish-3.html) (5 in the gallery). - **Genome** (`graphType: "Genome"`) — Genome browser with feature, sequence and signal tracks. Also known as: genome browser, igv-like tracks, genomic tracks. Examples: [1](https://www.canvasxpress.org/examples/genome-1.html), [2](https://www.canvasxpress.org/examples/genome-2.html), [3](https://www.canvasxpress.org/examples/genome-3.html) (4 in the gallery). - **Heatmap** (`graphType: "Heatmap"`) — Heatmap with clustering dendrograms, annotation colour bars and overlays. Also known as: heat map, clustered heatmap, complexheatmap, pheatmap. Examples: [1](https://www.canvasxpress.org/examples/heatmap-1.html), [2](https://www.canvasxpress.org/examples/heatmap-2.html), [3](https://www.canvasxpress.org/examples/heatmap-3.html) (41 in the gallery). - **KaplanMeier** (`graphType: "KaplanMeier"`) — Kaplan-Meier survival curves. Also known as: survival curve, kaplan-meier, survival analysis. Examples: [1](https://www.canvasxpress.org/examples/kaplan-meier-9.html). - **Oncoprint** (`graphType: "Oncoprint"`) — Oncoprint of genomic alterations per sample. Also known as: oncoprint, mutation matrix, waterfall mutation plot. - **Upset** (`graphType: "Upset"`) — UpSet plot of set intersections. Also known as: upset plot, set intersections. - **Volcano** (`graphType: "Volcano"`) — Volcano plot (fold change vs significance). Also known as: volcano plot, enhancedvolcano. - **Venn** (`graphType: "Venn"`) — Venn diagram. Also known as: venn diagram, euler diagram. Examples: [1](https://www.canvasxpress.org/examples/venn-1.html), [2](https://www.canvasxpress.org/examples/venn-2.html), [3](https://www.canvasxpress.org/examples/venn-3.html). ### Features - **3D surface resolution and aspect control** — Scatter3D function (fx) surfaces: fxSamples sets the grid resolution (smoother mesh, finer colour); aspect3D switches the box between cube (each axis fills equal length) and data (scaled to the real per-axis data spans for true proportions). 3D axis major-tick counts are automatic (nice numbers from each axis range; override with xAxis3DTicks/yAxis3DTicks/zAxis3DTicks), which also tightens bounds so the surface fills and centers the box. Per-axis auto-ranging is built in, and xAxisExact/yAxisExact/zAxisExact give tight bounds. Also known as: aspectmode, aspect ratio, data aspect, cube aspect, surface resolution, grid resolution, mesh resolution, 3d aspect ratio, tick count, number of ticks, nticks, axis ticks, tick marks. - **Circular Graph Arc Sectors** — General parameters for arc sectors in circular graphs. Parameters: `circularArcSectorSeparation`, `circularArcSectorRadius`. Applies to: Circular. - **Circular Graph Connections** — General parameters for connections in circular graphs. Parameters: `showCircularConnections`, `circularConnections`, `circularConnectionsTransparency`. Applies to: Circular. - **Circular Graph Tracks** — General parameters for tracks in circular graphs. Parameters: `circularTrackSeparation`, `circularTrackName`, `circularTrackGraphType`, `circularTrackGraphWeight`, `circularTrackOrder`. Applies to: Circular. - **Circular Graphs** — General parameters in circular graphs. Parameters: `circularType`, `circularCenterProportion`, `circularRotate`, `circularArc`, `circularLetterSeparationFactor`, `circularOverlayLevelOrientation`, `circularSampleLabelOrientation`, `circularLabelsAlign` and 7 more. Applies to: Circular. Also known as: circos. - **Clustree Plots** — Clustering-tree (clustree) plots: a layered node-link diagram, built on Scatter2D with scatterType clustree, showing how cluster assignments evolve across increasing clustering resolutions. Node size = cluster cell count, node color = resolution level, edge width/color = count of observations transitioning between clusters at adjacent resolutions. Parameters: `clustreeFlip`, `clustreeShowAxes`, `clustreeNodeLabels`, `clustreeNodeTextSize`, `clustreePrefix`, `clustreeSweeps`, `clustreeNodePalette`, `clustreeEdgePalette` and 5 more. Applies to: Scatter2D. Also known as: clustree, clustree plot, ClustreePlot, clustering tree, cluster tree, resolution tree, cluster resolution tree, cluster stability tree, cluster stability plot, scrna cluster tree. See: https://www.canvasxpress.org/examples/scatter2d-1.html. - **Fish Graphs** — General parameters in fish graphs. Parameters: `fishParents`, `fishTimepoints`, `fishSeparateIndependentClones`, `fishShape`, `fishAxis`, `fishAxisLabels`, `fishCloneLabels`. Applies to: Fish. - **Genome Browser** — General parameters used in genome browser. Parameters: `genomeTicks`, `wireColor`, `genomeResolution`. Applies to: Genome. - **Genome Browser Features** — General parameters used in genome browser features. Parameters: `featureNameAlign`, `featureNameBaseline`, `featureNameColor`, `featureNameFontSize`, `featureNameFontStyle`, `featureNameMargin`, `featureNameRotate`, `featureNameScaleFontFactor` and 22 more. Applies to: Genome. - **Genome Browser Sequences** — General parameters used in genome browser sequeces. Parameters: `sequenceAlign`, `sequenceBaseline`, `sequenceColor`, `sequenceFontSize`, `sequenceFontStyle`, `sequenceMargin`, `sequenceRotate`, `sequenceScaleFontFactor` and 28 more. Applies to: Genome. - **Genome Browser Tracks** — General parameters used in genome browser tracks. Parameters: `trackNameAlign`, `trackNameBaseline`, `trackNameColor`, `trackNameFontSize`, `trackNameFontStyle`, `trackNameMargin`, `trackNameRotate`, `trackNameScaleFontFactor` and 3 more. Applies to: Genome. - **Heatmap Color Indicators** — General parameters for heatmap color indicators. Parameters: `showHeatmapIndicator`, `heatmapIndicatorHeight`, `heatmapIndicatorWidth`, `adjustAspectRatioHeatmapIndicator`, `heatmapIndicatorPosition`, `heatmapIndicatorBeforeOverlays`, `heatmapIndicatorHistogram`, `heatmapIndicatorHistogramColor`. Applies to: Heatmap. Also known as: annotation bars, color bars. - **Heatmap Graphs** — General parameters for heatmaps. Parameters: `heatmapAutoAdjust`, `heatmapCellBox`, `heatmapCellBoxColor`, `heatmapCellBoxWidth`, `heatmapCellSpace`, `heatmapCellBoxColorHighlight`, `heatmapCellBoxHighlightWidth`, `heatmapHighlightByRowCol` and 13 more. Applies to: Heatmap. - **Ideograms** — General parameters for Ideograms. Parameters: `ideogram`, `ideogramChromosomeNumber`, `ideogramSegmentAlign`, `ideogramSegmentBaseline`, `ideogramSegmentColor`, `ideogramSegmentFontSize`, `ideogramSegmentFontStyle`, `ideogramSegmentMargin` and 7 more. Applies to: Circular, Genome. Also known as: chromosome ideogram, karyotype. - **Kaplan Meier Plots** — Parameters used to create kaplan meier curves in 2d scatter plots. Parameters: `showKMConfidenceIntervals`, `showKMMedianSurvivalTime`, `kmConfidenceLevel`, `kmConfidenceIntervalType`, `kmInvertCensored`, `kmCensoredRug`, `kmRiskTable`, `kmPvalue` and 3 more. Applies to: Scatter2D. - **Manhattan Plots** — General parameters in scatter plots. Parameters: `chromosomeLengths`, `armLengths`, `manhattanMarkerChromosomeNumber`, `manhattanMarkerPosition`, `manhattanMarkerLogPValue`, `manhattanCNV`, `manhattanRangeStart`, `manhattanRangeEnd` and 4 more. Applies to: Scatter2D. - **Oncoprint Graphs** — General parameters for oncoprints. Parameters: `oncoprintCNA`, `oncoprintMUT`, `oncoprintEXP`, `oncoprintNoAlterations`, `oncoprintColSummary`, `oncoprintRowSummary`, `oncoprintAlteredText`, `oncoprintPresorted` and 2 more. Applies to: Heatmap. - **R-Axis** — R axis parameters. Parameters: `rAxis`, `rAxisCeilValue`, `rAxisExact`, `rAxisFactorValue`, `rAxisFloorValue`, `rAxisGridMajorColor`, `rAxisGridMajorLineType`, `rAxisGridMajorShow` and 52 more. Applies to: Circular. - **Swimmer Graphs** — General parameters in swimmer graphs. Parameters: `swimHigh`, `swimStart`, `swimEnd`, `swimStatus`, `swimHighCap`. Applies to: Bar. Also known as: swimmer plot, swimmer lane. - **UpSet Plots** — General parameters for upset. Parameters: `nUpSets`, `upSetSets`, `upsetShadeColor`, `upsetShadeAlpha`, `upsetMatrixDotAlpha`, `upsetMatrixColor`, `upsetMainBarColor`, `upsetSetsBarColor` and 4 more. Applies to: Heatmap. - **Vector Field Plots** — Vector-field plots: velocity / quiver / streamplot visualizations over a 2D coordinate space (a direction + magnitude per sample), built on Scatter2D with scatterType vectorfield, or as an overlay on a Map with mapVectorField true (positions from the lat/lng marker columns, velocity from vectorUBy/vectorVBy). plot_type modes: raw (one arrow per sample), grid (field averaged onto a regular grid, one arrow per cell = quiver), stream (RK4-integrated streamlines = streamplot). Arrow length encodes magnitude; color by group (raw) or by magnitude gradient (grid/stream). Covers plotthis VelocityPlot (RNA velocity over an embedding), matplotlib quiver / streamplot, and geographic wind / current / flow fields on a map. Parameters: `mapVectorField`, `vectorFieldMode`, `vectorScale`, `vectorArrowSize`, `vectorLineWidth`, `vectorGridSize`, `vectorDensity`, `vectorColorByMagnitude` and 14 more. Applies to: Scatter2D, Map. Also known as: velocity plot, VelocityPlot, RNA velocity, vector field, vector field plot, quiver, quiver plot, streamplot, stream plot, streamline plot, flow field, velocity field, wind map, wind field map, quiver map, streamplot map, vector field map, flow map, ocean current map, map vector field. See: https://www.canvasxpress.org/examples/scatter2d-1.html, https://www.canvasxpress.org/examples/map-1.html. - **Venn Diagrams** — General parameters in Venn diagrams. Parameters: `vennLegendColors`, `vennGroups`, `vennColors`. Applies to: Venn. - **Visium Plots** — General parameters in scatter plots. Parameters: `visiumFlip`, `visiumPanning`, `visiumFixedAspectRatio`. Applies to: Scatter2D. ## Networks, flows and hierarchies Graphs of connections, flows between stages and nested structures. ### Graph types - **Alluvial** (`graphType: "Alluvial"`) — Alluvial diagram of flows between categorical stages. Also known as: alluvial, alluvial diagram, ggalluvial. - **Bubble** (`graphType: "Bubble"`) — Circle-packing bubble chart of a hierarchy. Also known as: circle packing, packed bubbles. - **Chord** (`graphType: "Chord"`) — Chord diagram of flows between groups on a circle. Also known as: chord diagram. - **Network** (`graphType: "Network"`) — Network graph with force-directed, circular, radial and cola layouts and community detection. Also known as: network graph, node-link diagram, graph visualization, force graph. Examples: [1](https://www.canvasxpress.org/examples/network-1.html), [2](https://www.canvasxpress.org/examples/network-2.html), [3](https://www.canvasxpress.org/examples/network-3.html) (36 in the gallery). - **Ribbon** (`graphType: "Ribbon"`) — Ribbon diagram: a Sankey-style flow of records across categorical axes (sankeyAxes). Also known as: ribbon chart, ribbon diagram, parallel sets. - **Sankey** (`graphType: "Sankey"`) — Sankey diagram of flows between nodes. Also known as: sankey diagram, flow diagram. Examples: [1](https://www.canvasxpress.org/examples/sankey-1.html), [2](https://www.canvasxpress.org/examples/sankey-2.html), [3](https://www.canvasxpress.org/examples/sankey-3.html) (19 in the gallery). - **Sunburst** (`graphType: "Sunburst"`) — Sunburst chart of a hierarchy. Also known as: sunburst, radial treemap, multi-level pie. - **Tree** (`graphType: "Tree"`) — Tree diagram / dendrogram layout. Also known as: tree diagram, hierarchy tree. Examples: [1](https://www.canvasxpress.org/examples/tree-1.html), [2](https://www.canvasxpress.org/examples/tree-2.html), [3](https://www.canvasxpress.org/examples/tree-3.html) (6 in the gallery). - **TreeBracket** (`graphType: "TreeBracket"`) — Tournament-style bracket drawn from a hierarchy (Final, Semifinal, ...). Also known as: bracket, tournament bracket. - **Treemap** (`graphType: "Treemap"`) — Treemap of a hierarchy. Also known as: treemap, tree map. Examples: [1](https://www.canvasxpress.org/examples/treemap-1.html), [2](https://www.canvasxpress.org/examples/treemap-2.html), [3](https://www.canvasxpress.org/examples/treemap-4.html) (4 in the gallery). ### Features - **Bubble Graphs** — General parameters in circular bubble graphs. Parameters: `bubbleColor`, `bubbleOutlineColor`, `bubbleLabel`, `bubbleLabelPosition`, `bubbleLabelLineType`. Applies to: Bubble. - **Chord Graphs** — General parameters in circular chord graphs. Parameters: `chordThickness`, `chordColor`, `chordScaleShow`. Applies to: Chord. - **Hierarchy** — General parameters to build hierarchy for circular (sunburst) trees and bubbles graphs. Parameters: `hierarchy`. Applies to: Bubble, Circular, Sunburst, Tree, TreeBracket, TreeBracket. - **Network Algorithm Parameters** — General parameters used in the layout algorithms for networks. Parameters: `networkConvergenceThreshold`, `attractiveForceFunction`, `repulsiveForceFunction`, `useBarnesHutSimulation`, `networkDisjoint`, `networkSpeed`, `networkGravity`, `networkSpringLength` and 5 more. Applies to: Network. Also known as: force-directed layout. - **Network Cola Algorithm Parameters** — General parameters used in the cola layout algorithm for networks. Parameters: `networkColaLinkDistance`, `networkColaAvoidOverlaps`, `networkColaHandleDisconnected`, `networkColaConvergenceThreshold`, `networkColaGroupCompactness`, `networkColaSymmetricDiffLinkLengths`, `networkColaJaccardLinkLength`, `networkColaJaccardLinkLengthDefault` and 8 more. Applies to: Network. Also known as: cola layout, constraint layout. - **Network Communities** — General parameters used in network communities. Parameters: `showNetworkCommunities`, `calculateNetworkCommunities`, `coordinateNetworkConvexHullCommunityColor`, `hullScale`. Applies to: Network. Also known as: community detection, louvain, modularity. - **Network Graphs** — General parameters used in networks. Parameters: `calculateLayout`, `edgeColor`, `edgeSeparationFactor`, `highlightNode`, `ignoreEventlessOrder`, `is3DNetwork`, `isNetworkMetrics`, `labelNodePosition` and 24 more. Applies to: Network. - **Network Node and Edge Attributes** — General parameters used for nodes and edges in networks. Parameters: `colorNodeBy`, `shapeNodeBy`, `sizeNodeBy`, `patternNodeBy`, `colorEdgeBy`, `sizeEdgeBy`, `lineEdgeBy`, `minEdgeSize` and 1 more. Applies to: Network. - **Sankey Diagrams** — General parameters in sankey diagrams. Parameters: `sankeyAxes`, `sankeyAxesOrder`, `sankeyHide`, `sankeyLinkLineWidth`, `sankeyLinkOrder`, `sankeyLinksColor`, `sankeyLinksOpacity`, `sankeyLodeGuidance` and 32 more. Applies to: Sankey. - **Tree Bracket** — General parameters in tree brackets. Parameters: `treeBracketFactor`, `treeBracketLengthFactor`. Applies to: Tree. - **Treemap Graphs** — General parameters for treemaps. Parameters: `treemapBorderWidth`, `treemapBorderColor`. Applies to: Treemap. - **Trees** — General parameters in trees. Parameters: `treeNodeSizeScaleFactor`, `treeLabelAlign`, `treeLinkColor`, `treeNodeOutlineColor`, `treeLinkWidth`, `treeInverted`, `treeType`, `treeClickDisable`. Applies to: Tree. - **Workflow Charts** — General parameters in workflow charts. Parameters: `workflowCurrentAlign`, `workflowCurrentBaseline`, `workflowCurrentColor`, `workflowCurrentFontSize`, `workflowCurrentFontStyle`, `workflowCurrentMargin`, `workflowCurrentRotate`, `workflowCurrentScaleFontFactor` and 19 more. Also known as: workflow, flowchart, pipeline diagram. ## Maps Geographic maps: choropleth, symbol and connection maps. ### Graph types - **Map** (`graphType: "Map"`) — Geographic map (choropleth, markers, connections, region pies). Also known as: choropleth map, geo chart, dot map, connection map, bubble map, cartogram, dorling cartogram, non-contiguous cartogram, contiguous cartogram, dougenik cartogram, value-by-area map. Examples: [1](https://www.canvasxpress.org/examples/map-1.html), [2](https://www.canvasxpress.org/examples/map-2.html), [3](https://www.canvasxpress.org/examples/map-3.html) (34 in the gallery). ### Features - **Classed choropleths and symbol maps** — Maps: colorSpectrumBreaksMethod classifies a numeric colorBy into one colour class per colorSpectrum colour by Jenks natural breaks, quantile or equal width (or give colorSpectrumBreaks by hand) — fills are exact class colours that agree with a stepped legend (equal swatches, every class edge labelled; colorLegendSteps). showMapLabels draws region names that fit inside their region and never overlap (largest first, contrast-aware colour). Proportional-symbol maps: sizeBy a sample draws one bubble per region (world maps included) in mapBubbleColor, with a matching size legend. Insets: per-feature translate/scale via mapConfigFeatures. Also known as: jenks, natural breaks, classed choropleth, classified choropleth, choropleth classification, quantile classification, equal interval classification, stepped legend, map labels, region labels, proportional symbol map, bubble map legend, size legend, inset map. - **Maps** — Geographic maps from TopoJSON/GeoJSON with built-in basemaps (continents, countries, US states, US zip codes), markers, connections and pie charts on regions. Parameters: `topoJSON`, `mapId`, `mapZipCodeIds`, `mapProjection`, `mapConfig`, `mapConfigFeatures`, `mapSmps`, `hiddenMapFeatures` and 12 more. Applies to: Map. Also known as: map, maps, choropleth, geographic, geo, geojson, topojson, symbol map, bubble map, world map, us map, zip code map. See: https://www.canvasxpress.org/examples/map-1.html. - **Maps Albers** — Map albers properties used in map visualizations. Parameters: `mapLatitudeOrigin`, `mapCentralMeridian`, `mapStandardParallel1`, `mapStandardParallel2`. Applies to: Map. Also known as: albers projection. - **Maps Orthographic** — Map orthographic properties used in map visualizations. Parameters: `mapGraticuleShow`, `mapGraticuleType`. Applies to: Map. Also known as: globe, orthographic projection. - **Maps Tiles** — Raster tile basemap properties used in map visualizations. Parameters: `showTiles`, `tileAlpha`, `tileZoomAlphaColor`, `tileType`. Applies to: Map. Also known as: leaflet, tile map, slippy map, basemap tiles, locator map, street map, basemap, map tiles, satellite map, OpenStreetMap, terrain map. ## KPI and finance Indicator gauges, bullet graphs and financial composites. ### Graph types - **Bullet** (`graphType: "Bullet"`) — Bullet graph: a measure against a target over qualitative ranges. Also known as: bullet chart, bullet graph, kpi. Examples: [1](https://www.canvasxpress.org/examples/bullet-1.html), [2](https://www.canvasxpress.org/examples/bullet-2.html), [3](https://www.canvasxpress.org/examples/bullet-3.html) (7 in the gallery). - **Meter** (`graphType: "Meter"`) — Meter / gauge / ring indicator sharing the range and target model with bullets. Also known as: gauge, speedometer, dial, ring meter. Examples: [1](https://www.canvasxpress.org/examples/meter-1.html), [2](https://www.canvasxpress.org/examples/meter-2.html), [3](https://www.canvasxpress.org/examples/meter-3.html) (24 in the gallery). - **OptionsWall** (`graphType: "OptionsWall"`) — Candlesticks plus an options chain (implied volatility / premium flanks) on a shared price axis. Also known as: candlestick, ohlc, options chain, stock chart. Examples: [1](https://www.canvasxpress.org/examples/optionswall-1.html), [2](https://www.canvasxpress.org/examples/optionswall-2.html). ### Features - **Bullet Graphs** — General parameters in bullet graphs. Parameters: `bulletWidthRatio`, `bulletStyle`, `progressWidthRatio`, `progressTrackColor`, `bulletTargetVarName`, `bulletTargetWidthRatio`, `bulletTargetVarColor`, `bulletTargetType` and 1 more. Applies to: Bullet. - **Meter Graphs** — General parameters in meter graphs. Parameters: `meterType`, `meterAlign`, `meterCard`, `meterTopology`, `meterNeedleColor`, `meterBackgroundColor`, `meterCardBackgroundColor`, `meterCardBorderColor` and 6 more. Applies to: Meter. - **OptionsWall Charts** — Composite price + options-chain wall (candlestick center, put/call flanks, shared strike axis, spot ruler). Parameters: `optionsWallChain`, `optionsWallSpot`, `optionsWallExpiry`, `optionsWallCadence`, `optionsWallFlankMetric`, `optionsWallPutsSide`, `optionsWallPanelRatio`, `optionsWallMoneynessShading` and 5 more. Applies to: OptionsWall. - **Ranges** — General parameters use in graphs that utilize ranges. Parameters: `rangeColors`, `rangeColorTransparency`, `rangeStackShow`, `rangeStack`, `rangeSegments`. Applies to: Bar, Bullet, Meter. Also known as: qualitative ranges, performance bands. ## Analytics built into the chart Clustering, statistics, fits and forecasts computed inside the chart. ### Features - **Forecasting** — showForecast projects a regularly spaced series forward with a prediction interval (SES, Holt, Holt-Winters; matches R stats::HoltWinters), per group or on date axes. Parameters: `showForecast`. Also known as: time series forecast, predictive analytics. See: https://www.canvasxpress.org/forecasting.html. - **Statistics as first-class objects (significance brackets, FDR, effect-size)** — One-dimensional group charts (Boxplot, Violin, Bar) render pairwise significance brackets with a p-value or stars label via the opt-in statInference config, a renderer-first inference layer: the group-comparison test statistic is computed upstream (R/Python) and handed to the engine, which draws the bracket (horizontal rule + downward legs + centered label) and applies native multiple-testing correction. this.pAdjust matches R's stats::p.adjust() to double precision for BH/fdr, bonferroni, BY, holm, hochberg and none, so FDR control can recorrect client-side. Effect-size with confidence interval renders through the existing pointrange/errorbar geoms; volcano threshold lines through decorations. The same controls are authorable in the core library without code: a Statistics section in the Customizer (brackets, correction, annotation style, FDR cutoff via statInference.fdrThreshold, comparison editor, data transforms) and a matching Statistics submenu in the context menu. Also known as: statistics customizer, statistics menu, fdr cutoff, significance bracket, significance brackets, significance stars, star annotation, p-value annotation, pairwise comparison, group comparison test, t-test, welch t-test, mann-whitney, wilcoxon, wilcoxon rank sum, anova, one-way anova, kruskal-wallis, kruskal wallis, multiple testing correction, p.adjust, p adjust, padjust, benjamini-hochberg, benjamini hochberg, bonferroni, holm, hochberg, fdr, false discovery rate, q-value, adjusted p-value, effect size, confidence interval tile, forest plot, ggsignif, ggpubr stat_compare_means. See: https://www.canvasxpress.org/statistics.html, https://www.canvasxpress.org/examples/statistics.html. - **Model-evaluation plots** — Client-side builders that turn a trained classifier's outputs into render-ready CanvasXpress specs: CanvasXpress.rocConfig / prConfig / confusionConfig / evalPlots (and the matching cx.* instance methods) compute the ROC sweep and trapezoidal AUC, the precision-recall curve and average precision, and the confusion-matrix counts, then emit a Scatter2D line curve with a reference-line decoration (ROC/PR) or a Heatmap (confusion). Also importanceConfig (horizontal feature-importance bar), calibrationConfig (reliability curve with the expected calibration error), learningCurveConfig (training vs validation score lines) and shapConfig (SHAP-summary beeswarm, a jittered Dotplot grouped by feature and coloured by feature value). No external dependency; the static form runs before any chart exists, the same standalone pattern as recommend(). Also known as: roc, roc curve, auc, roc auc, auroc, precision recall, precision-recall curve, pr curve, average precision, confusion matrix, model evaluation, model evaluation plots, classifier evaluation, classifier metrics, rocconfig, prconfig, confusionconfig, evalplots, feature importance, variable importance, importance plot, calibration curve, reliability diagram, expected calibration error, learning curve, training curve, shap, shap summary, shap beeswarm, beeswarm plot, importanceconfig, calibrationconfig, learningcurveconfig, shapconfig. - **Clustering** — Hierarchical clustering (euclidean / manhattan / max distance; single / complete / average linkage) and k-means, on samples or variables, with mean/median imputation. Parameters: `clusteringDistance`, `linkage`, `clusterAxis`, `kmeansVarClusters`, `kmeansSmpClusters`, `maxIterations`, `imputeMethod`, `samplesClustered` and 3 more. Also known as: clustering, hierarchical clustering, hclust, k-means, kmeans, cluster analysis. See: https://www.canvasxpress.org/examples/heatmap-1.html. - **Confidence Intervals** — Parameters used to create regression, loess and quantiles confidence intervals in 2d scatter plots. Parameters: `confidenceIntervalColor`, `showConfidenceIntervals`, `confidenceIntervalsMax`, `confidenceLevel`, `confidenceIntervalColorCoordinate`, `selectableFits`. Applies to: Scatter2D. Also known as: confidence interval, confidence band. - **Data Transformation** — log2/log10, exponential, square root, percentile, z-score and ratio transforms, plus a declarative dplyr/tidyr-style data pipeline. Parameters: `transformData`, `transformAxis`, `dataPipeline`. Also known as: transform, log scale data, z-score, normalize, dplyr, tidyr, data pipeline, wrangling. - **Dendrograms** — General parameters in dendrograms. Parameters: `colorSmpDendrogramBy`, `colorVarDendrogramBy`, `showSmpDendrogram`, `showVarDendrogram`, `smpDendrogramHang`, `smpDendrogramNewick`, `smpDendrogramPosition`, `smpDendrogramUseHeight` and 6 more. Also known as: dendrogram, cluster tree. - **Error Bars** — Error bar and confidence intervals related parameters. Parameters: `showErrorBars`, `errorBarsType`, `errorBarsColor`, `errorBarsThickness`, `errorBarsWidth`, `standardDeviationType`. Also known as: error bars, standard error, standard deviation. - **Fit Lines** — Parameters used to create regression, loess and quantiles lines in 2d scatter plots. Parameters: `fitLineColor`, `fitLineTransparency`, `fitLineType`, `fitLineWidth`. Applies to: Scatter2D. Also known as: trend line, trendline, fit line. See: https://www.canvasxpress.org/examples/linear-fit-1.html, https://www.canvasxpress.org/examples/nonlinear-fit-1.html. - **Forecast** — Parameters used to project an ordered, regularly spaced series forward (exponential smoothing, as R stats::HoltWinters) in 2d scatter plots. Parameters: `showForecast`, `forecastMethod`, `forecastHorizon`, `forecastSeasonLength`, `showForecastInterval`, `forecastLevel`, `forecastLineType`. Applies to: Scatter2D. Also known as: forecast, forecasting, prediction interval, holt-winters, exponential smoothing. See: https://www.canvasxpress.org/forecasting.html. - **Loess** — Parameters used to create smooth lines in 2d scatter plots. Parameters: `showLoessFit`, `loessDegree`, `loessSteps`, `loessBandwidth`, `loessCell`, `loessSpan`, `loessNormalize`, `loessFamily` and 2 more. Applies to: Scatter2D. Also known as: loess, lowess, smoothing, geom_smooth. - **Quantile Regression Plots** — Parameters used to create Quantile Regression plots in 2d scatter plots. Parameters: `quantiles`, `showQuantileRegressionFit`. Applies to: Scatter2D. Also known as: quantile regression, quantreg. - **Regression** — Parameters used to create regression lines in 2d scatter plots. Parameters: `showRegressionFit`, `showRegressionFitEquation`, `regressionFitEquationPosition`, `showRegressionFullRange`, `regressionType`, `regressionOrder`. Applies to: Scatter2D. Also known as: regression, linear regression, polynomial fit, curve fitting. ## Data handling and wrangling Input formats, filtering, sorting, selection, transforms and reshaping. ### Features - **Live streaming data** — pushData appends new samples to a rendered chart and keeps a rolling window (streamWindow), recomputing fits and filters; dashboards subscribe panels to Server-Sent-Events streams without code. Parameters: `streamWindow`. Also known as: streaming, real-time, realtime, live data, live chart, sse, server-sent events. See: https://www.canvasxpress.org/streaming.html. - **File formats and data loading** — Load JSON, XML, CSV/TSV and other delimited text, Apache Parquet, GML/GPML network files (including WikiPathways) and archives, by drag-and-drop or URL. Also known as: csv, tsv, parquet, json, xml, gpml, gml, file import, drag and drop, upload data, wikipathways. See: https://www.canvasxpress.org/files.html. - **Data wrangling** — A declarative dplyr/tidyr-style pipeline (dataPipeline), flexible group-by aggregation (aggregations) and formula-based calculated fields (calculatedFields, a safe evaluator, no eval). Calculated fields include level-of-detail aggregates that rejoin to row level (sum(V, by=A), Tableau {FIXED}), ordered table calculations (cumsum/cumprod/lag/lead/movavg/movsum/rank/denserank/pctchange/pcttotal/first/last, partitioned by by= and ordered by order=) and a UTC date family (datetrunc/datediff/dateadd/year/quarter/month/week/day/weekday/hour/fiscalyear/dateformat, plus asof() for deterministic 'current date'); the no-eval grammar supports named arguments (by=, order=, unit=, n=, k=, desc=). Materialized at load, not recomputed live against the interactively filtered view. Parameters: `dataPipeline`, `aggregations`, `calculatedFields`. Also known as: pivot, reshape, mutate, summarise, binning, derived column, lod, lod expressions, level of detail, table calculation, table calculations, running total, running sum, window function, window functions, moving average, rank, percent of total, period over period, time intelligence, date functions, date arithmetic, year to date, dateadd, datediff, datetrunc, fiscal year. See: https://www.canvasxpress.org/wrangling.html. - **Publishing tables (in-cell graphics)** — The data table (view:'table') draws per-column in-cell graphics with dataTableColRenderer: bars behind the values scaled to the column (zero baseline for negatives; summary and annotation rows excluded) and sparklines of each row across chosen columns (which may be hidden); heat colouring of cells via dataTableColored (toolbar colour toggle). dataTableColFormat takes sprintf strings or locale-aware number formats (comma, percent, dollar, compact, {locale, style, currency, decimals}). Graphics are re-applied on every render, so they follow virtual scrolling, sorting, filtering and pagination; the header menu toggles bars per column. Also known as: table sparklines, sparkline, sparklines, in-cell charts, in-cell bars, table bars, bar chart in table, heat table, conditional formatting, data bars, publishing table, table formatting. - **DOE** — Parameters for building graphs from metadata (design of experiments). Parameters: `maxDOENumber`, `includeDOE`, `extendedDOE`, `asDOE`. - **Data** — Data related parameters. Parameters: `appendNetworkData`, `dataTextAlign`, `dataTextBaseline`, `dataTextColor`, `dataTextFontSize`, `dataTextFontStyle`, `dataTextMargin`, `dataTextRotate` and 9 more. - **Data Context** — Data context related parameters. Parameters: `asSampleFactors`, `asVariableFactors`, `stringSampleFactors`, `stringVariableFactors`, `stringNodeAttributes`, `stringEdgeAttributes`. - **Data Filters** — Filter by sample, variable, network node/edge or genome feature annotations (and/or), plus calculated fields, flexible aggregation and saved authoring states. Parameters: `dataFilterWidth`, `dataFilterMaxItems`, `calculatedFields`, `shelfStates`, `aggregations`, `filterType`, `filterMode`, `filterSkipNullKeys` and 16 more. Also known as: filter, filters, filtering, slicer, calculated field, calculated fields, aggregation, group by. - **Data Ratio Reference** — Data ratio related parameters. Parameters: `ratioReference`, `ratioSampleReference`, `ratioGroupReference`, `ratioLevelReference`. - **Data Selection** — Parameters used to select data in all visualizations. Parameters: `selectionMode`, `selectionColor`, `selectionMetadata`, `selectedDataPoints`. Also known as: selection, select data, lasso. - **Data Sorting** — Data sorting related parameters. Parameters: `sortDir`, `sortCaseSensitive`, `sortData`, `sortOnGrouping`, `sortIncludeEmpty`, `numericGroupSort`. Also known as: sort, sorting, reorder. - **Data Time Series** — Time series related parameters. Parameters: `timeFormat`, `isGraphTime`. Also known as: time series, dates, date axis. - **Graph Metadata** — General graph metadata properties used in all graphs. Parameters: `tags`, `metaData`, `password`. - **Missing Data** — Missing data related parameters. Parameters: `missingDataColor`, `missingDataValue`, `nanOmit`. Also known as: missing values, na, nan. - **Plot Data Type** — Type of plot. Parameters: `isR`, `isChat`, `isCxplot`, `isGGMatrix`, `ggMatrixRole`, `isDataFrame`, `responsiveRules`. - **Random** — Properties used to generate random data sets. Parameters: `randomSeed`, `pseudoRandom`, `randomMethod`. - **Samples** — Properties associated with samples. Parameters: `highlightSmp`, `maxSmpStringLen`, `showSampleNames`, `smpHighlightColor`, `smpLabelAutoAlignPosition`, `smpLabelImage`, `smpLabelImageRound`, `smpLabelInterval` and 19 more. - **Variables** — Properties associated with variables. Parameters: `highlightVar`, `maxVarStringLen`, `showVariableNames`, `varHighlightColor`, `varLabelInterval`, `varTextAlign`, `varTextBaseline`, `varTextColor` and 14 more. ## Layout, faceting and axes Panels, small multiples, axes, margins and plot areas. ### Features - **3D Attributes** — General parameters in 3d scatter plots and networks. Parameters: `xRotate`, `yRotate`, `zRotate`, `x3DRatio`, `y3DRatio`, `z3DRatio`, `aspect3D`, `fxSamples` and 9 more. Applies to: Bar, Network, Scatter3D. Also known as: 3d rotation, 3d chart. - **Aspect Ratio, Space and Width** — Properties used to adjust the aspect ratio, space and width in most visualizations. Parameters: `percentAspectRatioPlotArea`, `fixedAspectRatio`, `variableSpace`, `widthFactor`, `dataPointSize`, `dataPointSizeScaleFactor`, `setPlotX`, `setPlotY` and 2 more. Also known as: aspect ratio, bar width, spacing. - **Axis** — General axis parameters. Parameters: `axisExtension`, `axisAlgorithm`, `axisWilkinsonLoose`, `axisCoordinate`. Also known as: axes. - **Combination Plot Strips** — Parameters used in strips complex plots. Parameters: `stripBackgroundBorderColor`, `stripBackgroundBorderLineType`, `stripBackgroundBorderSize`, `stripBackgroundColor`, `stripTextAlign`, `stripTextBaseline`, `stripTextColor`, `stripTextFontSize` and 8 more. Also known as: facet strips, strip labels. - **Combination Plots** — Parameters used in complex plots. Parameters: `layoutTopology`, `layoutAdjust`, `layoutGlobalGroups`, `layoutCollapse`, `layoutSpacing`, `layoutType`, `layoutRemoveEmpty`, `layoutCanvasCompartments` and 1 more. Also known as: combination chart, composite plot, multi-panel figure. - **Data Faceting** — Split a chart into panels by one or two factors (wrap, rows or columns). Parameters: `segregateSamplesBy`, `segregateVariablesBy`, `segregateLevelOrder`, `layoutSpaceFree`, `splitSamplesBy`, `splitVariablesBy`, `splitSeparation`. Also known as: faceting, facet, facet_wrap, facet_grid, small multiples, trellis, panels. See: https://www.canvasxpress.org/examples/facet-1.html, https://www.canvasxpress.org/examples/layout-1.html. - **Marginal Text** — Properties associated with marginal text. Parameters: `bottomMarginalText`, `bottomMarginalTextAlign`, `bottomMarginalTextBaseline`, `bottomMarginalTextColor`, `bottomMarginalTextFontSize`, `bottomMarginalTextFontStyle`, `bottomMarginalTextMargin`, `bottomMarginalTextRotate` and 28 more. - **Margins** — Margin properties used in most visualizations. Parameters: `margin`, `marginLeft`, `marginTop`, `marginBottom`, `marginRight`. - **Plot Area** — General parameters for the plotting area in one dimensional plots. Parameters: `guidesColor`, `guidesLength`, `guidesLineType`, `guidesShow`, `guidesTransparency`, `guidesWidth`, `guideStyle`, `blockContrast` and 17 more. - **Plot Mode** — Edit/reproducible-research switches plus the automated demo driver: a declarative storyboard (demo config + cx.playDemo) operates the real UI with synthetic input events and a ghost cursor (toolbar, Customizer, data table, filters, context menus, lasso, drag and drop) for screen-recorded demo videos; the engine records it natively so demoRecording()/replayDemo() replay it in the Workflow widget. Parameters: `isEditable`, `isReproducibleResearch`, `reproduceTime`, `reproduceVideoMode`, `demo`, `demoAutoPlay`, `demoSpeed`. Also known as: demo video, demo driver, synthetic input, event catalog, demo recording, replay demo, playDemo, guided tour, product tour, walkthrough, screen recording demo, scripted cursor, automated demo, ghost cursor, reproducible research. - **Plot View** — General view properties. Parameters: `view`. - **Plot and Panel Areas** — General plot and panel properties used in all graphs. Parameters: `panelBackgroundBorderColor`, `panelBackgroundBorderLineType`, `panelBackgroundBorderSize`, `panelBackgroundColor`, `plotBackgroundBorderColor`, `plotBackgroundBorderLineType`, `plotBackgroundBorderSize`, `plotBackgroundColor` and 3 more. - **Scrollbar** — Parameters associated with custom scrollbar styling. Parameters: `scrollbarBackgroundColor`, `scrollbarAltBackgroundColor`, `scrollbarThumbColor`, `scrollbarThumbHoverColor`. - **Text Placement** — Properties associated with text placements attributes. Parameters: `optimizeTextPosition`, `optimizeTextPositionStrategy`, `optimizeTextPositionEnforceBounds`, `optimizeTextPositionTemperature`, `optimizeTextPositionCooling`. Also known as: label placement, labels. - **X-Axis** — X axis parameters. Parameters: `setMaxX`, `setMaxX2`, `setMinX`, `setMinX2`, `setPanningMaxX`, `setPanningMinX`, `xAxis`, `xAxis2` and 78 more. Also known as: x axis. - **Y-Axis** — Y axes parameters. Parameters: `setMaxY`, `setMinY`, `setPanningMaxY`, `setPanningMinY`, `yAxis`, `yAxis2Rotate`, `yAxis2Show`, `yAxis2Title` and 72 more. Also known as: y axis, log scale, secondary axis, dual axis. - **Z-Axis** — Z axes parameters. Parameters: `setMaxZ`, `setMinZ`, `zAxis`, `zAxis2Title`, `zAxisCeilValue`, `zAxisCurrent`, `zAxisExact`, `zAxisFactorValue` and 52 more. Applies to: ScatterBubble2D, Scatter3D. Also known as: z axis. ## Styling, themes and annotation Colours, themes, titles, legends, annotations and animation. ### Features - **Themes** — 20+ built-in themes that control all non-data elements, including ggplot, bw, minimal, classic, Economist, Wall Street Journal, Tableau, Excel, Stata, solarized, dark and high-contrast, plus the canvasxpress.org style presets as themes of the same name (paper, slate, mono, sunrise and the always-dark ocean, midnight, graphite, forest -- one name styles the chart and its widgets). The widgets colour looks modern/bms/colorful/rdc/ngs360 are themes too (theme: "bms", or [chart, widgets]); every chart theme (economist, ggplot, wsj, tableau, stata, solarized, excel, highcharts, paultol, editorial, bw, highcontrast ...) also styles its widgets from its own accent, aliases resolve to one style (wsj = wallstreet = wallstreetjournal); dataUIStyle is the border density (default/minimal) and composes with any theme. Parameters: `theme`. Also known as: theme, themes, chart theme, ggplot theme, economist theme, wsj theme, dark mode, high contrast, style preset, site theme, website style theme, slate theme, ocean theme, midnight theme, graphite theme, forest theme, sunrise theme, mono theme, widgets look, frame density, dataUIStyle, theme aliases, wallstreet theme, branding. - **UI theming (widget styles, dark mode, design tokens)** — The widgets around a chart (toolbar, menus, Customizer, data table, filters, dialogs) share one set of design tokens: dataUIStyle presets (all WCAG AA), light/dark/auto widgets that follow the chart theme, widgetsTheme or a page container's data-cx-ui-theme, and --cx-ui-* CSS variables to override any colour per page or per chart. In dark each preset keeps its own accent colour, lightened to stay readable (getDarkAccent; --cx-ui-dark-accent* to set it yourself), and colorful's per-item colours follow. Per-chart, so charts on one page can differ. Parameters: `dataUIStyle`, `widgetsTheme`. Also known as: ui theme, widget theme, dark widgets, dark ui, theming, design tokens, css variables, css custom properties, ui style, widget style, data-cx-ui-theme, dark accent, dark mode accent, per-style dark mode, accent color, getDarkAccent. - **Locale-aware number formatting** — numberFormat (global) plus tooltipNumberFormat, legendNumberFormat, dataLabelNumberFormat, dataFilterNumberFormat (range-slider tick labels in the data filters) and per-axis x/y/zAxisNumberFormat format displayed values with presets (comma, percent, dollar, euro, pound, yen, compact), sprintf strings, or an object {locale, style: decimal|percent|currency|compact, currency, decimals, grouping, prefix, suffix}. Intl.NumberFormat-backed with memoized formatter instances and a hand-written grouping fallback; axis width measurement follows the formatted strings. Default off keeps the legacy formatNumber output. An explicit *AxisTickFormat (sprintf) still wins per axis. Also known as: number format, thousands separator, currency format, percent format, locale, compact numbers, number formatting, locale number formatting, d3-format, label_comma, label_percent, label_dollar. - **Structured chart footer** — Publication footer drawn on the canvas (included in PNG/SVG/PDF exports): notes (multiline), source with optional sourceUrl link, byline, and a 'Get the data' CSV download (showDataDownload), aligned with footerAlign. Clickable parts use a DOM overlay in the CanvasXpress wrapper. All off by default; the legacy citation keeps its exact position when used alone and moves above the footer block when both are set. Also known as: chart footer, footer, source line, data source attribution, byline, get the data, download the data, chart notes, footnote, caption block. - **Editorial annotations and direct labels** — Callouts: decorations.marker anchors text to a data point (variable+sample) with a line, straight arrow or curved arrow connector, placed at plot-area fractions and draggable — drag writes the x/y fractions back into the config for reproducibility. Free text: decorations.text (scatter: data units or relative fractions; 1D: smp/catX + value). Direct labels: showLineEndLabels puts each series name at its line's end in the series color, hides the legend, nudges overlaps apart and reserves the right margin. Also known as: direct labels, end-of-line labels, line end labels, annotation callout, callout, text annotation with arrow, curved arrow annotation, drag annotation, direct labeling, inline legend. - **Editorial theme and responsive rules** — theme:'editorial' — publication look: light horizontal gridlines only, no panel box or tick marks, left-aligned title, muted grey text, restrained colourblind-safe PaulTol palette, white background. responsiveRules — width-based config overrides ([{maxWidth, minWidth, config}]) applied at render/resize (move or hide the legend, shrink fonts, thin labels at narrow widths) and reverted automatically when the width stops matching; the saved configuration is never mutated. Also known as: editorial theme, publication theme, newsroom theme, responsive rules, responsive legend, breakpoint config, mobile chart layout, responsive chart layout, newsroom chart. - **TrendPlot (stacked bars over a stacked area)** — The Area graph can draw a solid bar/column mark at each category on top of the stacked area band (areaShowColumns), giving a plotthis/scplotter-style TrendPlot: stacked bars that preserve category separation with a semi-transparent stacked area behind them for the across-category trend. areaColumnWidth sets the bar width (0..1 of the slot). Composes with any areaType (stacked/percent/overlapping) and areaStyle (solid/translucent/outlined); areaType:"percent" gives the scale_y=TRUE 0-100% form. Parameters: `areaShowColumns`, `areaColumnWidth`. Also known as: trendplot, trend plot, bar-area trend, stacked bar area, bars over area, column area trend, plotthis trendplot, scplotter trendplot. - **Animations and Visualization Transitions** — Animation and visualization transition parameters. Parameters: `showAnimation`, `showTransition`, `transitionStep`, `transitionStaggering`, `transitionType`, `transitionFunction`, `transitionSpeed`. Also known as: animation, transitions, animated charts. - **Citations or References** — A citation or reference line on the chart (bottom right), with its own font, colour and alignment. Parameters: `citation`, `citationAlign`, `citationBaseline`, `citationColor`, `citationFontSize`, `citationFontStyle`, `citationMargin`, `citationRotate` and 7 more. Also known as: caption, source line, credit. - **Colors** — Properties to adjust Colors. Parameters: `colorScheme`, `colors`, `colorSpectrum`, `colorSpectrumBinned`, `colorSpectrumBreaks`, `colorSpectrumBreaksMethod`, `colorLegendSteps`, `colorLegendLabels` and 6 more. Also known as: color palette, colour palette, colour scheme, color scheme, palette. - **Data Point Attributes** — General attributes for data points in scatter and one dimensional plots. Parameters: `colorBy`, `colorKey`, `colorByData`, `colorLegendTitle`, `shapeBy`, `shapeByContinuous`, `shapeKey`, `shapeByData` and 36 more. Also known as: marker style, point style. - **Decorations** — Annotations drawn in data coordinates: reference lines, shaded ranges, text, points and markers. Parameters: `decorations`, `decorationsBackgroundBorderColor`, `decorationsBackgroundBorderLineType`, `decorationsBackgroundBorderSize`, `decorationsBackgroundColor`, `decorationsClipped`, `decorationsColors`, `decorationsHeight` and 21 more. Also known as: annotation, annotations, callout, reference line, threshold line, range highlight, shaded band, highlight band, text annotation, markers. - **Foreground and Background** — Foreground and Background properties used in all visualizations. Parameters: `foreground`, `background`. Also known as: background color, background image. - **General Attributes** — Properties related to Shapes, Images and Patterns. Parameters: `shapes`, `images`, `patterns`, `linePatterns`, `patternStrokeColor`, `patternFillColor`, `patternStrokeWidth`. Also known as: patterns, hatching. - **Gradients** — Properties used to adjust color gradients in all visualizations. Parameters: `gradient`, `gradientType`, `gradientOrientation`. Also known as: gradient, color ramp, continuous color scale. - **Grey Out** — Emphasise chosen data and grey out, ghost or focus the rest, declaratively (highlightBy) or by selection. Parameters: `highlightGreyOut`, `highlightColor`, `highlightMode`, `highlightBy`. Also known as: gghighlight, highlight, focus, ghost, emphasis, grey out. See: https://www.canvasxpress.org/highlighting.html. - **Images** — General parameters with images. Parameters: `imageTimeOut`, `imageMaxTries`. Also known as: logo, images. - **Legends** — Legends for variables and samples. Parameters: `customLegend`, `legendBackgroundBorderColor`, `legendBackgroundBorderLineType`, `legendBackgroundBorderSize`, `legendBackgroundColor`, `legendColumns`, `legendDirection`, `legendHorizontalJustification` and 54 more. Also known as: legend. - **Lines** — Properties to adjust Lines. Parameters: `dashLength`, `dotLength`, `arrowQuadraticFactor`, `arrowHeadType`, `arrowHeadTypeOpen`, `arrowHeadSize`, `arrowHeadAngle`, `capType` and 4 more. Also known as: line style, linetype, dashed lines. - **Overlays** — Colored boxes to help in the visualization of samples and variables. Parameters: `maxOverlayStringLen`, `overlayTextAlign`, `overlayTextBaseline`, `overlayTextColor`, `overlayTextFontSize`, `overlayTextFontStyle`, `overlayTextMargin`, `overlayTextRotate` and 18 more. Also known as: overlays, annotation tracks, violin annotation track, violin heatmap overlay, violin overlay track, boxplot annotation track, anno_violin. - **Shadows** — Shadow properties used in most visualizations. Parameters: `showShadow`, `showTextShadow`, `shadowOffsetX`, `shadowOffsetY`, `shadowBlur`, `shadowColor`. - **Shapes** — Properties to adjust Shapes. Parameters: `roundedPolygonRadius`, `useRoundRectangles`, `plotStyle`. Also known as: marker shapes, point shapes. - **Sizes** — Properties to adjust Sizes. Parameters: `sizes`, `initialSize`, `sizeStep`. Also known as: bubble size, size_max, sizeref, sizemode, scale_size_area, size by area. - **Text** — Properties associated with text attributes. Parameters: `fonts`, `fontsExternal`, `fontName`, `fontStyle`, `fontColor`, `fontSize`, `fontScaleFontFactor`, `align` and 9 more. Also known as: fonts, typography. - **Titles and Subtitles** — Properties associated with titles and subtitles. Parameters: `a11yDescription`, `subtitle`, `subtitleAlign`, `subtitleBaseline`, `subtitleColor`, `subtitleFontSize`, `subtitleFontStyle`, `subtitleMargin` and 11 more. Also known as: title, subtitle, headline, chart title. - **Transparency** — General transparency properties used in all graphs. Parameters: `transparency`, `transparencyHidden`. Also known as: opacity, alpha. ## Interactivity and authoring Tooltips, zoom, events, menus, the Customizer, data table and history. ### Features - **Undo / redo, history and recipes** — Committed actions (data, config, filters, sorting, grouping, facets, transforms, clustering) form an undo/redo stack with a history; the steps export as a replayable recipe and an audit trail. Also known as: undo, redo, history, audit trail, recipe, replay, provenance. See: https://www.canvasxpress.org/audit.html. - **Saved states (chart and page)** — Save named authoring states per chart, and page-level states that save and restore every chart on a page together. Parameters: `shelfStates`. Also known as: saved views, bookmarks, snapshots, saved state, page state. - **Linked charts (broadcast)** — Selections and events broadcast between charts on a page so they stay linked. Parameters: `broadcast`. Also known as: brushing and linking, linked brushing, coordinated views. See: https://www.canvasxpress.org/broadcast.html. - **Drill-down** — drillHierarchy (an array of sample annotations coarse->fine, e.g. ["Region","State","City"], or the date form {date, levels:["year","quarter","month","day"]}) turns a click into a drill: it filters to the clicked level value and regroups by the next annotation, with an HTML breadcrumb (drillBreadcrumb) that walks back, ESC to step up, and peer charts following the filter. One mechanism across Bar/Stacked/Pie/Dotplot/Boxplot/Line/Treemap (grouping), Circular/sunburst (hierarchy re-root) and Scatter2D (colorBy). drillDown/drillUp/drillReset are also a public API; drillPath serializes into saved/page states. Default-off. Also known as: drill-through, drillthrough, drill through, drill down, drilldown, drill mode, drill-down hierarchy, hierarchy navigation, drill-through pages. - **Context Menu** — Parameters associated with the context menu. Parameters: `contextMenuBackgroundColor`, `contextMenuBorderColor`, `contextMenuTextColor`, `contextMenuFontSize`, `contextMenuHoverColor`. Also known as: right-click menu. - **Data Customizer** — The in-chart Customizer: restyle, reconfigure and reshape the chart without code, including shelf-style field mapping. Parameters: `maxDataCustomizerEntries`, `customizerSize`, `customizerEntriesAsList`, `customizerGraphMaximize`, `customizerCloseBackgroundColor`, `customizerCloseTextColor`, `customizerBackgroundColor`, `customizerBorderColor` and 3 more. Also known as: customizer, chart editor, no-code editor, shelves, drag and drop authoring. - **Data Table** — The chart's data as an interactive table: search, sorting, pagination, pinned and hidden columns, per-column width, alignment and sprintf formats. Parameters: `dataTableAccentColor`, `dataTableActiveCellBorderColor`, `dataTableAutoColumnWidth`, `dataTableBannerBackgroundColor`, `dataTableBannerBorderColor`, `dataTableBannerImage`, `dataTableBannerShow`, `dataTableBannerTextAlign` and 96 more. Also known as: data table, table view, grid view, pivot table view, datatable. - **Data UI Widgets** — Parameters associated with all data UI widgets. Parameters: `dataUIStyle`, `widgetsTheme`, `widgetsBackgroundColor`, `widgetsBaseColor`, `widgetsBorderColor`, `widgetsHoverTransparency`, `widgetsAccentColor`, `widgetsContrastColor` and 8 more. Also known as: widgets, ui controls. - **Events** — Event parameters. Parameters: `disableEvents`, `disableCode`, `disableMenu`, `disableToolbar`, `disableTooltipCallout`, `disableDataTable`, `disableGrid`, `disableChat` and 35 more. Also known as: click events, callbacks, linked charts, broadcast. - **HTML Widgets** — General parameters for filtering with external HTML widgets. Parameters: `htmlWidget`, `htmlWidgetType`, `htmlWidgetHeight`. - **Tooltip** — Tooltip parameters. Parameters: `tooltipTransparency`, `tooltipFontColor`, `tooltipBackgroundColor`, `tooltipBorderColor`. Also known as: tooltip, hover, popup. - **Zooming, Panning and Resizing** — Parameters associated with zooming, panning and resizing events. Parameters: `zoom`, `zoomStep`, `zoomScale`, `zoomVariablesDisable`, `zoomSamplesDisable`, `zoomXDisable`, `zoomYDisable`, `zoomDisable` and 3 more. Also known as: zoom, pan, resize, brushing. ## Accessibility Screen-reader, keyboard and visual accessibility. ### Features - **Screen-reader and keyboard accessibility** — Every chart gets a generated text summary (or the author's own alt text, a11yDescription, also written into SVG exports and as the tagged figure in PDF exports) and an off-screen data table kept in sync with the data, live-region announcements, a focusable canvas with arrow-key navigation between data points, keyboard-operable widgets, a visible focus outline, a high-contrast theme, and reduced motion when the OS requests it. WCAG 2.1 AA conformance report (VPAT-style) published. Also known as: accessibility, a11y, wcag, screen reader, alt text, aria, keyboard navigation, reduced motion, vpat, section 508, alt text override, custom alt text, custom aria label, accessibility description, chart description, a11ydescription. See: https://www.canvasxpress.org/accessibility.html. - **Colourblind simulation** — Preview a chart as seen with deuteranopia or protanopia, from the menu or the Customizer theme panel. Also known as: colorblind, color blind, colour blind, colourblind, cvd, deuteranopia, protanopia, color vision deficiency. ## AI and natural language Generating and modifying charts from plain English. ### Features - **Few-shot corpus generator** — generateExamples(graphs, count, sentences) produces plain-English prompt and chart-config pairs for every graph type (records with id, data, header, description, config). These are the few-shot examples the canvasxpress-mcp server retrieves from. The method name is kept un-obfuscated in the secure build; the function picks phrases with Math.random, so seed it for a reproducible corpus (canvasxpress-mcp scripts/generate_few_shots.py does). Also known as: generateexamples, few-shot examples, few shot examples, few-shot corpus, training examples, llm training data, prompt config pairs, synthetic prompts. See: https://www.canvasxpress.org/llm.html. - **LLM** — Generate or modify a chart config from plain English, with the built-in service or your own endpoint. The canvasxpress-mcp connector also renders charts and linked dashboards live inside the chat as an MCP App (one call from a bundled dataset such as penguins, iris or mtcars, or from your own table), with Save (spec as a JSON download) and Open in Builder. Parameters: `llmServiceURL`, `dashboardsServiceURL`, `connectorsServiceURL`, `llmTemperature`, `llmSelectFirst`, `llmBehaviour`, `llmPrompt`, `llmStack` and 9 more. Also known as: mcp app, mcp, claude connector, dashboard in chat, ai, natural language, llm, copilot, text to chart, chatbot, chart recommendation, show me. See: https://www.canvasxpress.org/llm.html. ## Export, integration and reproducibility Image export, language bindings, specs and platform services. ### Features - **Image and vector export** — Export to PNG (with high-resolution magnification), SVG, vector PDF (native writer: tagged with the alt text, the chart JSON attached like PNG/SVG and re-loadable), and the reproducible JSON config. Parameters: `printMagnification`, `printType`, `saveFilename`. Also known as: svg, svg export, vector export, png, save as image, pdf, pdf export, export to pdf, vector pdf, save as pdf, print to pdf. - **Reproducible specs (save and reload)** — A chart's full state serialises to a portable JSON config (getConfig) that reloads to the identical view, in JavaScript, R or Python. Also known as: reproducibility, reproducible, json spec, save and load, portable spec. See: https://www.canvasxpress.org/spec.html. - **Grammar of graphics and ggplot2 conversion** — Layered grammar-of-graphics rendering (geoms, stats, scales, coords, facets); R ggplot2 plots convert to CanvasXpress with close visual fidelity. Also known as: ggplot2, ggplot, grammar of graphics, geom, aes, layers. See: https://www.canvasxpress.org/ggplot-interface.html, https://www.canvasxpress.org/cxplot-interface.html. - **Language bindings and frameworks** — The same chart specification works in JavaScript, the R htmlwidget (Shiny, R Markdown, Quarto), Python (Jupyter, Dash, Streamlit, Flask) and Julia (CanvasXpress.jl: IJulia, Pluto, VS Code, Documenter), plus React, VS Code notebooks and Observable. Also known as: r, shiny, python, jupyter, dash, streamlit, flask, julia, pluto, ijulia, react, vue, htmlwidget, quarto, observable, notebook. See: https://www.canvasxpress.org/r-interface.html, https://www.canvasxpress.org/python-interface.html, https://www.canvasxpress.org/julia-interface.html, https://www.canvasxpress.org/react-interface.html, https://www.canvasxpress.org/integration.html. - **Dashboards and connectors** — canvasxpress-dashboards: linked multi-chart dashboards with shared filters, joins between sources, calculated fields on a source, a no-code builder, a data-first wizard (upload or paste data parsed by the CanvasXpress engine, a column check that flags bad cells, chart suggestions from the canvasxpress-mcp selector, one-click publish), share links and live sources, export of a dashboard (or a one-panel dashboard) as self-contained HTML, PNG or a print-ready PDF, publish & embed of a whole dashboard or a single chart (stable share URL republished in place on save, an auto-resizing iframe, a web component and a PNG fallback for RSS/email), an organisation brand lock (CXD_BRAND) enforced on saves and shared views, plus electronic records and signatures (immutable hash-chained version history with re-authenticated e-signatures, a Part 11 mapping) and scheduled data refresh; declarative per-panel drill-through actions (spec 1.4: on a mark click, set a dashboard parameter and re-query, write a filter predicate into the global filter model, or focus another panel); a whole linked dashboard from one table (the wizard and the canvasxpress-mcp suggest_canvasxpress_dashboard tool match a patient-cohort or sequencing run-QC table to filters, linked charts and a click-to-load case card; any other table with a factor and two numeric columns gets a generic explore dashboard, and the same dashboard renders live inside the chat as an MCP App whose Save downloads the spec as JSON that can be dropped on the Builder's Data page to open it); proactive insights (a fixed, deterministic strip of declared-threshold failures, Kruskal-Wallis group differences corrected for multiple testing and Tukey outliers, each caption carrying its figures, computed server-side under the viewer's row/column security, no model involved); storyboards (a guided tour: ordered steps that each set filters or a filter scheme, parameters and a panel in view with a line of narration, played with previous/play/next); and R (canvasXpressDashboards htmlwidget with Shiny inputs) and Python (canvasxpress-dashboards: Jupyter, Flask, Dash) wrappers that render a spec or turn a data frame into a dashboard; canvasxpress-connectors: SQL databases and cloud warehouses via SQLAlchemy, in-process DuckDB over Parquet/CSV, Google Sheets, Google Analytics, Salesforce and ServiceNow, with database pushdown (also in the browser) and no credential in the browser. Connector extras available: alphavantage, analytics, bigquery, databricks, duckdb, mssql, mysql, nasdaq, oracle, pins, pins-s3, posit-connect, postgres, redshift, salesforce, servicenow, sheets, snowflake, stooq, teradata, yahoo. Parameters: `dashboardsServiceURL`, `connectorsServiceURL`. Also known as: dashboard, dashboards, bi, cross-filtering, linked views, sql, database, google sheets, share link, snowflake, bigquery, duckdb, data warehouse, calculated fields, e-signature, electronic signature, 21 cfr part 11, audit trail, version history, scheduled refresh, embed chart, embed a chart, iframe embed, publish chart, publish and embed, web component embed, responsive embed, brand lock, organisation theme, data wizard, chart wizard, data-first wizard, upload and visualize, chart from data, chart suggestions, suggested charts, bad cells, data check, paste data, storyboard, storyboards, story points, guided tour, dashboard tour, data story, narrated dashboard, slideshow of views, insights, proactive insights, automatic insights, outliers, outlier detection, anomaly detection, group difference, kruskal-wallis, dashboard from data, dashboard from a data frame, auto dashboard, suggest dashboard, case card, patient drill, dashboard in r, dashboard in python, htmlwidget dashboard, shiny dashboard, jupyter dashboard, flask dashboard, dash dashboard, canvasxpressdashboards, canvasxpress-dashboards pypi, python dashboard, r dashboard, dashboards in python, dashboards in r. See: https://www.canvasxpress.org/authenticated-data.html. - **Debug** — Debugging parameters. Parameters: `debug`, `debugWithArea`, `verbose`, `offline`, `showVersion`, `showCode`, `codeType`. - **General** — General properties used in all visualizations. Parameters: `graphType`, `yieldingRender`, `theme`. - **Plot Performance** — Settings that keep very large charts responsive: yielding render, streaming window and related performance switches. Parameters: `overplotPixels`, `streamWindow`, `streamEvict`. Also known as: performance, large data, big data, rendering speed. - **Print** — Image export: download or open in a window, high-resolution magnification, thumbnails and file naming. Parameters: `cacheBase64`, `printType`, `printMagnification`, `printThumbnail`, `saveFilename`. Also known as: png export, image export, download image, high resolution, print. - **R** — Parameters associated with R. Parameters: `loadRDatasets`, `Rdataset`. - **cxplot** — General properties used in cxplot. Parameters: `aes`, `ggplot`. ## Overview — /data/md/OVERVIEW.md ## Minimal parameters — /data/md/MINIMAL-PARAMETERS.md ### Minimal Parameters for CanvasXpress Visualizations These are the minimal parameters to create each of the CanvasXpress graphs. ## Schema — /data/md/SCHEMA.md # CanvasXpress Schema for Most Common Configuration Parameters The complete schema with all the configuration parameters used in CanvasXpress can be found in the [API documentation](https://canvasxpress.org/api/general.html) ## CanvasXpress Key Definitions used in this Schema Summary This file contains the schema of the most common CanvasXpress configuration fields organized by section and then category. Each parameter field includes: - **Description**: What the field controls - **Type**: Data type (string, boolean, integer, float, array, object, color) - **Options**: Valid values (where applicable) - **Default**: Default value ## Graph Types Section ### Area Graphs - **areaStyle**: Description: "Style for area graphs. The options include solid which is the default, translucent, and outlined" Type: "string" Options: ["solid", "translucent", "outlined"] Default: "solid" - **areaType**: Description: "Types of area graphs when displaying multiple series. The options include overlapping which is the default, stacked, and percent area graphs" Type: "string" Options: ["overlapping", "stacked", "percent"] Default: "overlapping" ### Bar Graphs - **barZero**: Description: "Flag to force zero in bar graphs with positive values" Type: "boolean" Default: true ### Bin Plots - **binplotBinWidth**: Description: "Width in actual units for the histogram bin" Type: "array" Default: [] - **binplotBins**: Description: "Approximate number of bins in a bin plot. It may vary considerably to the actual number used in the bin plot to ensure a pretty size for the intervals in the bin plot. ggplots default is 30" Type: "array" Default: [] - **binplotShape**: Description: "Type for the shape to use in binplots" Type: "string" Options: ["rectangle", "hexagon", "oval"] Default: "hexagon" ### Boxplot Graphs - **boxplotOutliersColor**: Description: "Color for outlier data points in boxplots" Type: "color" Default: false - **boxplotOutliersRatio**: Description: "Ratio for the size of the outliers with respect to boxplot" Type: "integer" Default: 10 - **boxplotOutliersShape**: Description: "Shape for the outlier data points" Type: "string" Options: ["circle", "square", "triangle", "diamond", "plus", "minus", "star", "circleOpen", "squareOpen", "triangleOpen", "diamondOpen"] Default: "circle" - **boxplotConnect**: Description: "Flag to show data in boxplots connected" Type: "boolean" Default: false - **boxplotMean**: Description: "Flag to show mean of data in boxplots" Type: "boolean" Default: false - **boxplotMeanColor**: Description: "Color for data mean in boxplots" Type: "color" Default: "#fed385" - **boxplotMedianColor**: Description: "Color for line of the median of data in boxplots" Type: "color" Default: false - **boxplotMedianWidth**: Description: "Width for the line of the median of data in boxplots" Type: "integer" Default: 2 - **boxplotNotched**: Description: "Flag to notch boxplots" Type: "boolean" Default: false - **boxplotType**: Description: "Boxplot type" Type: "string" Options: ["boxWhiskers", "range"] Default: "boxWhiskers" - **boxplotWhiskersType**: Description: "Boxplot whiskers type" Type: "string" Options: ["single", "double", "none"] Default: "double" - **showBoxplotOriginalData**: Description: "Flag to show/hide the observed data point in boxplots. (Should be called showBoxplotDataPoints)" Type: "boolean" Default: false ### Bullet Graphs - **bulletStyle**: Description: "Style for the bullet" Type: "string" Options: ["square", "round", "squareGradient", "roundGradient"] Default: "square" - **bulletTargetVarName**: Description: "Variable name to use to identify target in bullet graphs" Type: "string" Options: [false] Default: false ### Chord Graphs - **chordThickness**: Description: "Relative length in pixels of the chord thickness in the circular graphs. Only applicable to the chord subtype" Type: "integer" Default: 28 ### Circular Graphs - **circularRotate**: Description: "Number of degrees to rotate the circular graph to adjust the starting point" Type: "integer" Default: 0 - **circularType**: Description: "Property to set the subtype of circular graph. If set to sunburst or bubble then smpOverlays can be used to build a hierarchy for the graph" Type: "string" Options: ["normal", "radar", "sunburst", "chord", "bubble"] Default: "normal" ### Contours - **contourFilled**: Description: "Flag to color the contour plot" Type: "boolean" Default: false - **contourStat**: Description: "Contour density type" Type: "string" Options: ["density", "ndensity", "count"] Default: "density" - **showContourBands**: Description: "Flag to show/hide contour bands" Type: "boolean" Default: true - **showContourDataPoints**: Description: "Flag to show/hide the data points in contours" Type: "boolean" Default: false ### Density Plots - **densityKernel**: Description: "Histogram density kernels" Type: "string" Options: ["gaussian", "rectangular", "triangular", "epanechnikov", "quartic", "biweight", "cosine", "optcosine"] Default: "gaussian" - **densityPosition**: Description: "Histogram density position" Type: "string" Options: ["normal", "stacked", "filled"] Default: "normal" ### Dumbbell Graphs - **dumbbellType**: Description: "Style for the dumbbell plot" Type: "string" Options: ["arrow", "bullet", "cleveland", "connected", "line", "lineConnected", "stacked"] Default: "stacked" ### Heatmap Graphs - **heatmapIndicatorHeight**: Description: "Length in pixels for the heatmap indicator" Type: "integer" Default: 40 - **heatmapIndicatorHistogram**: Description: "Flag to show histogram in the heatmap indicator" Type: "boolean" Default: false - **heatmapIndicatorHistogramColor**: Description: "Color for the heatmap indicator histogram" Type: "color" Default: "#0ab0db" - **heatmapIndicatorPosition**: Description: "Position for the heatmap indicator" Type: "string" Options: ["topLeft", "top", "topRight", "right"] Default: "right" - **heatmapIndicatorWidth**: Description: "Length in pixels for the heatmap indicator line width used for increase the size of the indicator" Type: "integer" Default: 200 ### Histograms - **histogramStat**: Description: "Histogram density type" Type: "string" Options: ["density", "count"] Default: "count" - **histogramType**: Description: "Type of histogram when multiple series are present" Type: "string" Options: ["dodged", "staggered", "stacked"] Default: "dodged" - **showFilledHistogramDensity**: Description: "Flag to show/hide the filled histogram density" Type: "boolean" Default: false - **showHistogram**: Description: "Flag or sample annotation to create histogram. If true is specified then the histogram will be done with all data" Type: "string" Default: "" - **showHistogramBars**: Description: "Flag to hide the histogram bars" Type: "boolean" Default: false - **showHistogramDensity**: Description: "Flag to show/hide the density kernel in histograms" Type: "boolean" Default: false - **showHistogramMedian**: Description: "Flag to show/hide the histogram median" Type: "boolean" Default: false - **showHistogramQuantiles**: Description: "Flag to show/hide the quantile 0.25 and 0.75 in density plots" Type: "boolean" Default: false ### Kaplan Meier Plots - **kmPvalue**: Description: "Flag to show the p-value in Kaplan-Meier plots" Type: "boolean" Default: false - **kmRiskTable**: Description: "Data to show the number of subjects at risk in Kaplan-Meier plots. It will be aligned to the major ticks in the x Axis" Type: "string" Default: false - **showKMConfidenceIntervals**: Description: "Flag to show/hide confidence intervals in Kaplan-Meier plots" Type: "boolean" Default: true - **showKMMedianSurvivalTime**: Description: "Flag to show/hide median survival time in Kaplan-Meier plots" Type: "boolean" Default: false ### Line Graphs - **lineErrorType**: Description: "Line error type in the line graphs. The line type must be spline for the area error type. " Type: "string" Options: ["bar", "area"] Default: "bar" - **lineType**: Description: "Type of line used to join the points in line graphs" Type: "string" Options: ["rect", "solid", "spline", "dotted", "dashed", "dotdash", "longdash", "twodash"] Default: "rect" ### Maps - **mapColor**: Description: "Color for the maps" Type: "color" Default: "#0ab0db" - **mapConfig**: Description: "Map config" Type: "object" Default: {} - **mapGraticuleShow**: Description: "Flag to show Map Graticule" Type: "boolean" Default: false - **mapId**: Description: "Map Id for the map div in the DOM" Type: "string" Default: "" - **mapProjection**: Description: "Map projection" Type: "string" Options: ["mercator", "albers", "orthographic"] Default: "mercator" - **topoJSON**: Description: "TopoJSON map string" Type: "string" Default: "" - **useLeaflet**: Description: "Flag to use leaflet" Type: "boolean" Default: false ### Quantile Regression Plots - **showQuantileRegressionFit**: Description: "Flag to show/hide the Quantile Regression fit in Scatter2D plots" Type: "boolean" Default: false ### Sankey Diagrams - **sankeyAxes**: Description: "Axes to include in the alluvial plots. It must sample annotations of the string type in the x object" Type: "array" Default: [] - **sankeyTextColor**: Description: "Color for the text in sankey diagram labels" Type: "color" Default: "rgb(0,0,0)" - **sankeyTextFontStyle**: Description: "Font style for the sankey diagram labels" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **sankeyTextScaleFontFactor**: Description: "Scaling factor used to increase or decrease the sankey diagram labels font size in the canvas" Type: "float" Default: 1 - **sankeyTextShow**: Description: "Flag to show/hide the labels in the Sankey diagrams" Type: "boolean" Default: true - **sankeyTitleColor**: Description: "Color for the text in sankey diagram titles" Type: "color" Default: "rgb(0,0,0)" - **sankeyTitleFontStyle**: Description: "Font style for the sankey diagram titles" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **sankeyTitleScaleFontFactor**: Description: "Scaling factor used to increase or decrease the sankey diagram titles font size in the canvas" Type: "float" Default: 1 - **sankeyTitleShow**: Description: "Flag to show/hide the titles in the Sankey diagrams" Type: "boolean" Default: true ### Stream Plots - **scatterStreamType**: Description: "Type of stream scatter plot" Type: "string" Options: ["mirror", "ridge", "proportional"] Default: "mirror" ### Tag Cloud - **tagCloudShape**: Description: "Shape for the tag cloud" Type: "string" Options: [false, "circle", "cardioid", "diamond", "square", "triangle", "triangle2", "pentagon", "star"] Default: false ### Violin Plots - **showBoxplotIfViolin**: Description: "Flag to show/hide the boxplots when violin plot are show. It does not affect anything unless violins are shown" Type: "boolean" Default: false - **showViolinBoxplot**: Description: "Flag to show/hide the violin plot in boxplots" Type: "boolean" Default: false - **showViolinQuantiles**: Description: "Flag to show/hide the quantile 0.25 and 0.75 in violin plots" Type: "boolean" Default: false - **violinScale**: Description: "Type for scaling violin plots" Type: "string" Options: ["area", "count", "width"] Default: "width" - **violinTrim**: Description: "Flag to trim violin plots" Type: "boolean" Default: true ## General Section ### Aspect Ratio, Space and Width - **dataPointSizeScaleFactor**: Description: "Factor used to adjust the size of the dataPointSize" Type: "float" Default: 1 - **variableSpace**: Description: "Pixels between the data series in one-dimensional plots" Type: "integer" Default: 2 - **widthFactor**: Description: "Factor to adjust the width of the graph elements in one-dimensional and three-dimensional plots. The greater the number, the wider the elements" Type: "integer" Default: 1 ### Colors - **colorScheme**: Description: "Color schemes can be user defined which will take the colors in the color property or one provided in canvasXpress. The order of the colors will be used to sequentially select when a different color is needed in a particular visualization" Type: "string" Options: ["AAAS", "Accent", "BMS", "BMSBackground", "BMSBlue", "BMSBrown", "BMSGreen", "BMSPink", "BMSPrimary", "BMSSecondary", "BMSTertiary", "BMSTertiaryDark", "BMSTertiaryLight", "BMSWheat", "Basic", "Behance", "BehancePair", "BehanceQuartet", "BehanceTrio", "Black", "BlackAndWhite", "BlueGrey", "BlueRedGrey", "Blues", "BluesDark", "Bootstrap", "BrBG", "Brand", "Brooklyn99Dark", "Brooklyn99Regular", "BuGn", "BuPu", "CanvasXpress", "CanvasXpressOLD", "CanvasXpressTraditional", "Cividis", "ColorBlind", "ColorSpectrum", "Colorful", "ColorfulAlt", "Complementary", "Dark2", "Default", "Diverging", "DivergingAlt", "Economist", "EconomistBG", "Excel", "Excel2", "Excel3", "Favorite", "GGBlanket", "GGPlot", "GameOfThronesArryn", "GameOfThronesGreyjoy", "GameOfThronesLannister", "GameOfThronesManderly", "GameOfThronesMartell", "GameOfThronesStannis", "GameOfThronesStark", "GameOfThronesTargaryen", "GameOfThronesTully", "GameOfThronesTyrell", "GnBu", "GravityFalls", "Greens", "Grey", "GreyHC", "Greys", "Heat", "Highcharts", "Inferno", "JCO", "Jama", "KimPossible", "Lancet", "LastAirBenderAir", "LastAirBenderEarth", "LastAirBenderFire", "LastAirBenderWater", "Light", "Magma", "Matlab", "NEJM", "NPG", "OrRd", "Oranges", "PRGn", "Paired", "ParksAndRecreation", "Parula", "PaulTol", "PiYG", "Plasma", "Prism", "PrismPair", "PrismTrio", "PuBu", "PuBuGn", "PuOr", "PuRd", "Purples", "Rainbow", "RdBu", "RdGy", "RdPu", "RdYlBu", "RdYlGn", "Reds", "RickyAndMorty", "Simpsons", "Solarized", "SolarizedBase", "Spectral", "SpongeBob", "Stata", "Stata2", "Stata3", "StataMono", "Tableau", "TableauBlueRed", "TableauColorBlind", "TableauCyclic", "TableauGreenOrange", "TableauGrey", "TableauLight", "TableauMedium", "TableauPairSequential", "TableauPurpleGrey", "TableauTrafficLight", "TableauTripleDiverging", "Viridis", "ViridisInv", "WHO", "WallStreetJournal", "WallStreetJournal2", "WallStreetJournal3", "WallStreetJournalBlackGreen", "WallStreetJournalDemRep", "WallStreetJournalRedGreen", "White", "YlGn", "YlGnBu", "YlOrBr", "YlOrRd"] Default: "User" ### Foreground and Background - **background**: Description: "Color for the Specifies the default background color for elements in the canvas not covered in a more specific configuration property" Type: "color" Default: "rgb(255,255,255)" ### General - **graphType**: Description: "Specifies the type of graph to be rendered" Type: "string" Options: ["Alluvial", "Area", "AreaLine", "Bar", "BarLine", "Boxplot", "Bin", "Binplot", "Bubble", "Bullet", "Bump", "CDF", "Chord", "Circular", "Cleveland", "Contour", "Correlation", "Density", "Distribution", "Donut", "DotLine", "Dotplot", "Dumbbell", "Fish", "Gantt", "Genome", "Heatmap", "Hex", "Hexplot", "Histogram", "KaplanMeier", "Line", "Lollipop", "Map", "Meter", "Network", "ParallelCoordinates", "Pareto", "Pie", "QQ", "Quantile", "Radar", "Ribbon", "Ridgeline", "Sankey", "Scatter2D", "Scatter3D", "ScatterBubble2D", "Spaghetti", "Stacked", "StackedLine", "StackedPercent", "StackedPercentLine", "Streamgraph", "Sunburst", "TagCloud", "TimeSeries", "Tornado", "Tree", "Treemap", "Upset", "Violin", "Volcano", "Venn", "Waterfall", "WordCloud"] Default: "Bar" - **theme**: Description: "The style for the plot or theme will control all the non-data elements of the plot including titles, legends, axes, panel and plot background colors and other stylistic elements" Type: "string" Options: ["bw", "classic", "cx", "cxdark", "dark", "economist", "excel", "ggblanket", "ggplot", "gray", "grey", "highcharts", "igray", "light", "linedraw", "minimal", "none", "ptol", "solarized", "stata", "tableau", "void0", "wsj", "cx2"] Default: "none" ### General One Dimensional Graphs - **graphOrientation**: Description: "Specifies the orientation of one-dimensional graphs" Type: "string" Options: ["horizontal", "vertical"] Default: "horizontal" ### Plot View - **view**: Description: "Specify the initial view or display for the visualization" Type: "string" Options: ["canvas", "table", "layout"] Default: "canvas" ## Metadata Section ### Confidence Intervals - **showConfidenceIntervals**: Description: "Flag to show/hide the confidence intervals in the regression plots " Type: "boolean" Default: true ### Decorations - **decorations**: Description: "Enables visual annotations on your graph, with its structure depending on the graphType. For network graphs, it is an array of node property names; for one-dimensional graphs, it is an object with primary keys like line, range, point, text, marker, or error; and for scatter plots, it is an object with primary keys such as linear, exponential, logarithmic, power, polynomial, nonlinearfit, regression, normal, line, text, label, point, range, image, or polygon. In the latter two cases, the value for each primary key is an array of objects, where each object specifies the properties of a decoration, for example, for a one-dimensional line: {line: [{value: 5, color: "#ff0000", width: 2, label: "Threshold", align: "right"}]}, or for a scatter plot linear fit: {linear: [{x: 1, y: 2, x2: 3, y2: 4, color: "#ff0000", width: 2, label: "Threshold", align: "right"}]}" Type: "object or array" Default: false ### Loess - **showLoessFit**: Description: "Name of a variable annotation, or set to true, to display a loess smoothing curve in Scatter plots" Type: "string" Options: [false] Default: false ### Overlays - **smpOverlays**: Description: "Sample metadata to overlay in one dimensional plots" Type: "array" Default: [] - **varOverlays**: Description: "Variable metadata to overlay in heatmap plots" Type: "array" Default: [] ### Regression - **regressionType**: Description: "Type of linear least-squares fitting methods for simple data analysis" Type: "string" Options: ["linear", "exponential", "logarithmic", "power", "polynomial"] Default: "linear" - **showRegressionFit**: Description: "Name of a variable annotation, or set to true, to display a regression fit in Scatter plots" Type: "string" Options: [false] Default: false - **showRegressionFullRange**: Description: "Flag to show/hide the full range in regression plots" Type: "boolean" Default: false ## Data Section ### Clustering - **samplesClustered**: Description: "Flag to cluster samples" Type: "boolean" Default: false - **samplesKmeaned**: Description: "Flag to k-mean samples" Type: "boolean" Default: false - **variablesClustered**: Description: "Flag to cluster variables" Type: "boolean" Default: false - **variablesKmeaned**: Description: "Flag to k-mean variables" Type: "boolean" Default: false ### Data - **groupingFactors**: Description: "An array that holds the group names used for grouping the data. It must be a category in the data.x object" Type: "array" Default: [] ### Data Context - **stringSampleFactors**: Description: "Array containing sample factors. The numeric sample factors will be treated as strings. This parameter accomplishes the same as the function switchNumericToString for samples at load time. It can be used in conjunction with the parameter asSampleFactors. TO DO: write example" Type: "array" Default: [] - **stringVariableFactors**: Description: "Array containing variable factors. The numeric variable factors will be treated as strings. This parameter accomplishes the same as the function switchNumericToString for variables at load time. It can be used in conjunction with the parameter asVariableFactors. TO DO: write example" Type: "array" Default: [] ### Data Faceting - **segregateSamplesBy**: Description: "An array that holds the annotation(s) used to segregate the samples ala Facet way in R. It must be categories in the data.x object" Type: "array" Default: [] - **segregateVariablesBy**: Description: "An array that holds the annotation(s) used to segregate the variables ala Facet way in R. It must be categories in the data.z object" Type: "array" Default: [] - **splitSamplesBy**: Description: "Factor (in the x data object) used to split the samples ala split in complex heatmap" Type: "string" Default: "" - **splitVariablesBy**: Description: "Factor (in the z data object) used to separate the variables ala split in complex heatmap" Type: "string" Default: "" ### Data Filters - **filterData**: Description: "Array of arrays with filtering functions. Each function takes four parameters. The fisrt parameter is the type of filter. This could either of: var, smp, series, meta, x, y, z, data, network or guess (if not known). The second parameter is the key that usually correspond to a sample or variable factor name in the x or z object of the data. The third parameter is the operator to use which is one of: >, >=, <, <=, between, exact, like or not like and the four parameter is an array with the value or values that are needed for the corresponding evaluation. Here are some examples: [ x, class, exact, [ A ] ], [ guess, dose, between, [ 0.5, 2 ] ]", Type: "array", Default: [] ### Data Point Attributes - **colorBy**: Description: "Name of a variable annotation or a sample name or the string variable to color the variables" Type: "string" Options: [false, "variable"] Default: false - **pieBy**: Description: "Utility to create pie with a sample annotation" Type: "string" Options: [false] Default: false - **pivotBy**: Description: "Utility to pivot data with a sample annotation" Type: "string" Options: [false] Default: false - **ridgeBy**: Description: "Utility to create ridgelines in Scatter2D plots" Type: "string" Options: [false] Default: false - **shapeBy**: Description: "Name of a variable annotation or a sample name or the string variable to shape the variables. When shapeByData is specified shapeBy is used for the title in the legend" Type: "string" Options: [false, "variable"] Default: false - **sizeBy**: Description: "Name of a variable annotation or a sample name or the string variable to size the variables. When sizeByData is specified sizeBy is used for the title in the legend" Type: "string" Options: [false, "variable"] Default: false - **stackBy**: Description: "Name of a sample annotation to stack the samples of each variable in Bar graphs" Type: "string" Options: [false] Default: false ### Data Selection - **selectedDataPoints**: Description: "Variable / Sample names of data points (in the data object) to initially select" Type: "array" Default: [] ### Data Sorting - **sortData**: Description: "Array of arrays with sorting functions. Each function takes three parameters. The first parameter must be either smp to identify the parameters are related to the samples, var to identify the parameters are related to the variables, or cat to identify a sample or variable category. The second parameter can be either smp to indicate to sort the sample indices or var to indicate to sort the variable indices. The third parameter is the value for the key referenced by the first parameter. A special case for this parameter could be samples or variables to indicate to sort by the names of the samples or variables respectively. Here are some examples to sort the samples in the data: [ [cat, smp, Factor1] ] : Sort the samples by the sample category Factor1 [ [var, smp, Variable1] ] : Sort the samples by the value of the Variable1 [ [cat, smp, samples] ] : Sort the samples by their name. Important!!!! This parameter will clean the data and remove any variables not used in the dataset at load time" Type: "array" Default: [] ### Data Transformation - **transformData**: Description: "Default transformation type for ALL the data. Data can also be transformed by axis (x,y,z) to give more flexibility. false, save, reset and undo are NOT real transformations. They are only used in the canvasXpress UIs to save the transformed data" Type: "string" Options: [false, "log2", "log10", "-log2", "-log10", "exp2", "exp10", "sqrt", "percentile", "zscore", "ratio2", "ratio10", "save", "reset", "undo"] Default: false ### Hierarchy - **hierarchy**: Description: "Hierarchy for trees and bubble graphs made up of sample annotations present the data x object" Type: "array" Default: [] ### Plot Area - **binAlignment**: Description: "Alignment for the data points when binned" Type: "string" Options: ["left", "center", "right"] Default: "center" - **binned**: Description: "Flag to bin the data points in dotplots and boxplots" Type: "boolean" Default: false - **guidesColor**: Description: "Color for the variables and / or samples in one dimensional graphs and multidimensional heatmaps just for aesthetics" Type: "color" Default: "rgb(204,204,204)" - **guidesLineType**: Description: "Line type for the guides in one dimensional graphs and multidimensional heatmaps" Type: "string" Options: ["solid", "dotted", "dashed", "dotdash", "longdash", "twodash"] Default: "solid" - **guidesWidth**: Description: "Width for the guides in one dimensional graphs and multidimensional heatmaps" Type: "integer" Default: 1 - **guidesShow**: Description: "Flag to show/hide the guides in one dimensional graphs and multidimensional heatmaps" Type: "boolean" Default: false - **jitter**: Description: "Flag to jitter the data points in dotplots, boxplots and scatter2D plots" Type: "boolean" Default: false - **objectBorderColor**: Description: "Color for the border of all objects in one dimensional graphs. It turns into the non-transparent fill color if set to false" Type: "color" Default: "rgba(0,0,0,0)" - **sina**: Description: "Flag to jitter the data points in dotplots, boxplots and scatter2D plots with sina style" Type: "boolean" Default: false ## Legend Section ### Legends - **legendColumns**: Description: "Number of columns in legends" Type: "integer" Default: 1 - **legendInside**: Description: "Flag to position the legend inside the graphs" Type: "boolean" Default: false - **legendPosition**: Description: "Position for the the legend" Type: "string" Options: ["topRight", "right", "bottomRight", "bottom", "bottomLeft", "left", "topLeft", "top"] Default: "right" - **showLegend**: Description: "Flag to show/hide the legend" Type: "boolean" Default: true ## Titles, Subtitles and Citations Section ### Titles and Subtitles - **subtitle**: Description: "Subtitle of the graph" Type: "string" Default: "" - **subtitleColor**: Description: "Color for the text in subtitle" Type: "color" Default: "rgb(0,0,0)" - **subtitleFontStyle**: Description: "Font style for the subtitle" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **subtitleScaleFontFactor**: Description: "Scaling factor used to increase or decrease the subtitle font size in the canvas" Type: "float" Default: 1 - **title**: Description: "Title of the graph" Type: "string" Default: "" - **titleColor**: Description: "Color for the text in title" Type: "color" Default: "rgb(0,0,0)" - **titleFontStyle**: Description: "Font style for the title" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: "bold" - **titleScaleFontFactor**: Description: "Scaling factor used to increase or decrease the title font size in the canvas" Type: "float" Default: 1 ### Citations or References - **citation**: Description: "A reference citation of the graph which is placed at the bottom right corner" Type: "string" Default: "" - **citationColor**: Description: "Color for the text in citations" Type: "color" Default: "rgb(0,0,0)" - **citationFontStyle**: Description: "Font style for the citations" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **citationScaleFontFactor**: Description: "Scaling factor used to increase or decrease the citations font size in the canvas" Type: "float" Default: 1 ## Samples and Variables Section ### Samples - **highlightSmp**: Description: "Name of samples to highlight" Type: "array" Default: [] - **showSampleNames**: Description: "Flag to show/hide the sample names" Type: "boolean" Default: true - **smpTextColor**: Description: "Color for the text in sample labels" Type: "color" Default: "rgb(77,77,77)" - **smpTextFontStyle**: Description: "Font style for the sample labels" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **smpTextRotate**: Description: "Rotation in degrees for the sample labels" Type: "integer" Default: 0 - **smpTextScaleFontFactor**: Description: "Scaling factor used to increase or decrease the sample labels font size in the canvas" Type: "float" Default: 1 - **smpTitle**: Description: "Title for the sample axis in one dimensional plots" Type: "string" Default: "" - **smpTitleColor**: Description: "Color for the text in sample title" Type: "color" Default: "rgb(0,0,0)" - **smpTitleFontStyle**: Description: "Font style for the sample title" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **smpTitleRotate**: Description: "Rotation in degrees for the sample title" Type: "integer" Default: 0 - **smpTitleScaleFontFactor**: Description: "Scaling factor used to increase or decrease the sample title font size in the canvas" Type: "float" Default: 1 ### Variables - **highlightVar**: Description: "Name of variables to highlight" Type: "array" Default: [] - **showVariableNames**: Description: "Flag to show/hide the variable names" Type: "boolean" Default: true - **varTextColor**: Description: "Color for the text in variable text" Type: "color" Default: "rgb(77,77,77)" - **varTextFontStyle**: Description: "Font style for the variable text" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **varTextRotate**: Description: "Rotation in degrees for the variable labels" Type: "integer" Default: 0 - **varTextScaleFontFactor**: Description: "Scaling factor used to increase or decrease the variable text font size in the canvas" Type: "float" Default: 1 - **varTitle**: Description: "Title for the variables in hetamap plots" Type: "string" Default: "" - **varTitleColor**: Description: "Color for the text in variable title" Type: "color" Default: "rgb(0,0,0)" - **varTitleFontStyle**: Description: "Font style for the variable title" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **varTitleScaleFontFactor**: Description: "Scaling factor used to increase or decrease the variable title font size in the canvas" Type: "float" Default: 1 ## Axes Section ### R-Axis - **rAxis**: Description: "Radial axis for circular plots. It must be the name of a variable. Only applicable to 2 Dimensional circular plots" Type: "string" Default: "" - **rAxisShow**: Description: "Flag to show/hide the R axis" Type: "boolean" Default: true - **rAxisTextColor**: Description: "Color for the text in axis text" Type: "color" Default: "rgb(0,0,0)" - **rAxisTextFontStyle**: Description: "Font style for the axis text" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **rAxisTextScaleFontFactor**: Description: "Scaling factor used to increase or decrease the axis text font size in the canvas" Type: "float" Default: 1 - **rAxisTitle**: Description: "R axis title " Type: "string" Default: "" - **rAxisTitleColor**: Description: "Color for the text in axis title" Type: "color" Default: "rgb(0,0,0)" - **rAxisTitleFontStyle**: Description: "Font style for the axis title" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **rAxisTitleScaleFontFactor**: Description: "Scaling factor used to increase or decrease the axis title font size in the canvas" Type: "float" Default: 1 - **rAxisTransform**: Description: "Type of transformation for values in R axis" Type: "string" Options: [false, "log2", "log10", "-log2", "-log10", "exp2", "exp10", "sqrt", "percentile"] Default: false - **setMaxR**: Description: "Set the maximum value for data in the R axis" Type: "float" Default: 0 - **setMinR**: Description: "Set the minimum value for data in the R axis" Type: "float" Default: 0 ### X-Axis - **setMaxX**: Description: "Set the maximum value for data in the X axis" Type: "float" Default: 0 - **setMinX**: Description: "Set the minimum value for data in the X axis" Type: "float" Default: 0 - **xAxis**: Description: "Name of the samples, groups or variables to be displayed in the X axis" Type: "array" Default: [] - **xAxis2**: Description: "Name of the samples, groups or variables to be displayed in the second X axis" Type: "array" Default: [] - **xAxis2Show**: Description: "Flag to show/hide the X axis on the top" Type: "boolean" Default: false - **xAxis2Title**: Description: "X axis2 title on the top" Type: "string" Default: "" - **xAxisShow**: Description: "Flag to show/hide the X axis on the bottom" Type: "boolean" Default: true - **xAxisTextColor**: Description: "Color for the text in axis text" Type: "color" Default: "rgb(0,0,0)" - **xAxisTextScaleFontFactor**: Description: "Scaling factor used to increase or decrease the axis text font size in the canvas" Type: "float" Default: 1 - **xAxisTitle**: Description: "X axis title on the bottom" Type: "string" Default: "" - **xAxisTitleColor**: Description: "Color for the text in axis title" Type: "color" Default: "rgb(0,0,0)" - **xAxisTitleFontStyle**: Description: "Font style for the axis title" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **xAxisTitleScaleFontFactor**: Description: "Scaling factor used to increase or decrease the axis title font size in the canvas" Type: "float" Default: 1 - **xAxisTransform**: Description: "Type of transformation for values in X axis" Type: "string" Options: [false, "log2", "log10", "-log2", "-log10", "exp2", "exp10", "sqrt", "percentile"] Default: false ### Y-Axis - **setMaxY**: Description: "Set the maximum value for data in the Y axis" Type: "float" Default: 0 - **setMinY**: Description: "Set the minimum value for data in the Y axis" Type: "float" Default: 0 - **yAxis**: Description: "Name of the samples, groups or variables to be displayed in the Y axis" Type: "array" Default: [] - **yAxisShow**: Description: "Flag to show/hide the Y axis on the left" Type: "boolean" Default: true - **yAxisTextColor**: Description: "Color for the text in axis text" Type: "color" Default: "rgb(0,0,0)" - **yAxisTextFontStyle**: Description: "Font style for the axis text" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **yAxisTextScaleFontFactor**: Description: "Scaling factor used to increase or decrease the axis text font size in the canvas" Type: "float" Default: 1 - **yAxisTitle**: Description: "Y axis title on the left" Type: "string" Default: "" - **yAxisTitleColor**: Description: "Color for the text in axis title" Type: "color" Default: "rgb(0,0,0)" - **yAxisTitleFontStyle**: Description: "Font style for the axis title" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **yAxisTitleScaleFontFactor**: Description: "Scaling factor used to increase or decrease the axis title font size in the canvas" Type: "float" Default: 1 - **yAxisTransform**: Description: "Type of transformation for values in Y axis" Type: "string" Options: [false, "log2", "log10", "-log2", "-log10", "exp2", "exp10", "sqrt", "percentile"] Default: false ### Z-Axis - **setMaxZ**: Description: "Set the maximum value for data in the Z axis" Type: "float" Default: 0 - **setMinZ**: Description: "Set the minimum value for data in the Z axis" Type: "float" Default: 0 - **zAxis**: Description: "Name of the samples, groups or variables to be displayed in the Z axis" Type: "array" Default: [] - **zAxisShow**: Description: "Flag to show/hide the Z axis" Type: "boolean" Default: true - **zAxisTextColor**: Description: "Color for the text in axis text" Type: "color" Default: "rgb(0,0,0)" - **zAxisTextFontStyle**: Description: "Font style for the axis text" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **zAxisTextScaleFontFactor**: Description: "Scaling factor used to increase or decrease the axis text font size in the canvas" Type: "float" Default: 1 - **zAxisTitle**: Description: "Z axis title " Type: "string" Default: "" - **zAxisTitleColor**: Description: "Color for the text in axis title" Type: "color" Default: "rgb(0,0,0)" - **zAxisTitleFontStyle**: Description: "Font style for the axis title" Type: "string" Options: ["", "bold", "italic", "bold italic"] Default: false - **zAxisTitleScaleFontFactor**: Description: "Scaling factor used to increase or decrease the axis title font size in the canvas" Type: "float" Default: 1 - **zAxisTransform**: Description: "Type of transformation for values in Z axis" Type: "string" Options: [false, "log2", "log10", "-log2", "-log10", "exp2", "exp10", "sqrt", "percentile"] Default: false The schema covers the most common aspects of CanvasXpress visualization configuration from basic graph types to advanced features like clustering, filtering, and specialized plot types.