Gallery

Every chart type on one screen.

Every mark the package draws, on one screen. Each one is live, built from the same Chart.Root frame with different children. The heading under each preview links to the page that takes the mark apart.

Bars

Two series side by side

JanFebMarAprMayJun01020304050
Chart of Projects published, Proposals accepted over 6 points
monthProjects publishedProposals accepted
January2418
February3122
March2825
April3530
May4236
June3833

Horizontal, with values on the bars

JanuaryFebruaryMarchAprilMayJune243128354238
Chart of Projects published over 6 points
monthProjects published
January24
February31
March28
April35
May42
June38

Diverging around zero

JanFebMarAprMayJun-2000200400600
Chart of Net wallet flow over 6 points
monthNet wallet flow
January420
February-180
March260
April-90
May540
June310

Stacked bars

Series stacked in one column

JanFebMarAprMayJun020406080
Chart of Projects published, Proposals accepted over 6 points
monthProjects publishedProposals accepted
January2418
February3122
March2825
April3530
May4236
June3833

Line

One series over time

JanFebMarAprMayJun01020304050
Chart of Projects published over 6 points
monthProjects published
January24
February31
March28
April35
May42
June38

Step curve with dots

JanFebMarAprMayJun01020304050
Chart of Projects published over 6 points
monthProjects published
January24
February31
March28
April35
May42
June38

Area

Filled series with a gradient

JanFebMarAprMayJun01020304050
Chart of Projects published, Proposals accepted over 6 points
monthProjects publishedProposals accepted
January2418
February3122
March2825
April3530
May4236
June3833

Stacked, flat fills

JanFebMarAprMayJun020406080
Chart of Proposals accepted, Projects published over 6 points
monthProposals acceptedProjects published
January1824
February2231
March2528
April3035
May3642
June3338

Points

Bubbles sized by a third value

AlphaBravoCharlieDeltaEcho05101520253035
Chart of Projects over 5 points
clientProjects
Alpha12
Bravo26
Charlie18
Delta34
Echo9

Pie

Parts of a whole

Chart of Freelancers over 4 points
disciplineFreelancers
design86
development54
writing37
consulting21

Donut

The pie with room for a number

Chart of Freelancers over 4 points
disciplineFreelancers
design86
development54
writing37
consulting21

Radar

One shape across five axes

NorthWestSouthEastCentral
Chart of Coverage over 5 points
regionCoverage
North92
West68
South74
East85
Central61

Radial bars

Concentric progress rings

Chart of value over 3 points
metricvalue
fillRate78
responseRate64
repeatRate41

Own it

Every mark above is drawn by the source in @voila.dev/ui/src/chart/components/ — one file per mark, plain SVG, plain arithmetic. To add a mark of your own, read one of the small ones (chart-points.tsx is a good start) and write a sibling; it is the same file whether you keep the package or copy it into your repo.

Quick start · Chart.Root · Chart.Tooltip