Data Analytics & BI · Chart library
The right chart for the question.
279 charts in 34 families: every kind of bar, line, pie, real map, word cloud and table, each with when to use it and when to avoid it. All drawn from scratch as SVG, the same parts the dashboards are built from.
Example data: a made-up coffee chain, “Kopi Senja”, in eight Indonesian cities. None of these numbers are real. Map shapes are real: provinces from OCHA via HDX / geoBoundaries (CC BY 3.0 IGO), countries from Natural Earth (public domain).
279
charts, all drawn from scratch
34
families, like every kind of bar
9
questions they answer
42
ways to draw a bar alone
Columns
Comparison · 24Horizontal bars
Comparison · 18Stacked & grouped
Comparison · 12Dots & lollipops
Comparison · 10Radial bars
Comparison · 4Lines
Trend · 27Areas
Trend · 8Financial
Trend · 5Calendar & cycles
Trend · 8Histograms
Distribution · 8Box & violin
Distribution · 8Points
Distribution · 6Curves
Distribution · 7Pies & donuts
Composition · 11Squares & units
Composition · 8Hierarchies
Composition · 9Bridges
Composition · 3Scatter
Relationship · 11Matrices
Relationship · 6Multivariate
Relationship · 5Networks
Relationship · 3Sets
Relationship · 3Model evaluation
Relationship · 5Funnels
Flow & process · 4Flows
Flow & process · 4Timelines
Flow & process · 6Province maps
Geography · 16World maps
Geography · 4Tile maps
Geography · 5Symbol maps
Geography · 4Word clouds
Text & words · 4Word charts
Text & words · 7Cards & gauges
KPIs & tables · 9Tables
KPIs & tables · 7Same data, different chart
The data doesn't change. How easy it is to read does.
Revenue share of five products, drawn 11 ways.
Easiest to read: lengths on one baseline, sorted. The safe default for shares.
Bad chart → better chart
5 common mistakes, fixed.
A cut-off axis
Starting bars far above zero turns a small gap into a dramatic one. Bars must start at zero; lines may zoom in, if the axis says so.
✗ Misleading
✓ Better
Too many slices
Eight similar slices can't be ranked by eye. A sorted bar chart shows the order and the values.
✗ Misleading
✓ Better
Spaghetti lines
Eight colours compete for attention. Grey out the context and colour the one line the story is about.
✗ Misleading
✓ Better
Rainbow colours
A colour per bar suggests twelve categories when there is one. Use one colour, and spend contrast on the bar that matters.
✗ Misleading
✓ Better
Two axes, one chart
With two scales you can make any two lines look related by stretching one axis. Indexing every series to 100 puts them on one honest scale.
✗ Misleading
✓ Better