Skip to content
Charts55Components12Visuals14ASCII45
GitHubGet startedGet started
  • All charts
  • Getting started

Trends3

  • Area
  • Line
  • Combo

Comparison4

  • Bar
  • Horizontal bar
  • Slope
  • RangeNew

Part of a whole4

  • Radial
  • Treemap
  • Funnel
  • Sankey

KPIs3

  • Stat cards
  • Progress
  • Activity ring

Patterns5

  • Heatmap
  • Cohort retentionNew
  • Scatter
  • Radar
  • Box plotNew

Cool23New

  • Chord loom
  • Rank ribbons
  • Event helix
  • Contour islands
  • Parallel ribbons
  • Sunburst terraces
  • Cluster constellation
  • Ternary prism
  • Wind rose
  • Marimekko blocks
  • Intersection towers
  • Horizon folds
  • Circle archipelago
  • Helix ribbons
  • Voxel cloud
  • Arc bridges
  • Terrain
  • Hex city
  • Voxel waffle
  • Skyline
  • Block city
  • Ridgeline
  • Spiral year

Finance13New

  • Candlestick
  • Indicators
  • Price
  • Depth
  • Order book
  • Portfolio
  • Watchlist
  • Market map
  • Volume profile
  • Monthly returns
  • Earnings
  • Yield curve
  • Options payoff

Customize10

  • Colors
  • Surfaces
  • Backgrounds
  • 3DNew
  • Axes
  • LegendsNew
  • Hover
  • Numbers
  • Loading
  • Empty

Features5New

  • Sync hover
  • Pin
  • Compare
  • Targets & forecasts
  • Performance

Reference2

  • API reference
  • Motion & accessibility
API reference/Interaction & export

Dashboard selection and export

Selections you own, linked charts, range summaries and CSV.

  • selected
  • selectedCategoryId
  • createChartController
  • ChartRangeSummary

A card that pins a category can share that pin with the rest of your page. RadialChartCard, FunnelChartCard and HorizontalBarChartCard accept selected (a category name, or null) and onSelectedChange. Given selected, the card only asks: a click, tap or Escape calls onSelectedChange, and the pin moves when you pass the new value. Identity is the category name, so re-ranking or new values keep the pin. A selection naming a category that has left the data shows nothing pinned and asks you to clear it. Leave selected out and the card keeps its own pin.

A category Chart uses selectedCategoryId and onSelectedCategoryIdChange in the same way, and visibleSeries with onVisibleSeriesChange controls which series show. Hover always stays local.

Time and numeric charts link through sync on cards, or a shared controller from createChartController() on composed charts. Controller snapshots are read-only; call its methods to change inspection or ranges.

ChartRangeSummary is a sibling of ChartPlot inside a time or numeric Chart. It follows the focused range and shows total, average, low, high and observation availability. summarizeRange exposes inclusive range statistics separately; no-known-data totals are null and missing endpoints produce an unknown change.

toChartCsv(data, columns) returns CSV from explicit column accessors, preserving numeric negatives, blank nulls and ISO dates. It quotes multiline fields and protects text cells from spreadsheet formula interpretation. The helper has no download side effects.

TypeScript

<ChartRangeSummary series="revenue" />

const csv = toChartCsv(rows, [
  { header: 'Date', value: row => new Date(row.date) },
  { header: 'Revenue', value: row => row.revenue },
]);
PreviousFinanceNextRange brush