←BaldanAll skillsLet's talk

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

279 of 279

Columns

Comparison · 24

Horizontal bars

Comparison · 18

Stacked & grouped

Comparison · 12

Dots & lollipops

Comparison · 10

Radial bars

Comparison · 4

Lines

Trend · 27

Areas

Trend · 8

Financial

Trend · 5

Calendar & cycles

Trend · 8

Histograms

Distribution · 8

Box & violin

Distribution · 8

Points

Distribution · 6

Curves

Distribution · 7

Pies & donuts

Composition · 11

Squares & units

Composition · 8

Hierarchies

Composition · 9

Bridges

Composition · 3

Scatter

Relationship · 11

Matrices

Relationship · 6

Multivariate

Relationship · 5

Networks

Relationship · 3

Sets

Relationship · 3

Model evaluation

Relationship · 5

Funnels

Flow & process · 4

Flows

Flow & process · 4

Timelines

Flow & process · 6

Province maps

Geography · 16

World maps

Geography · 4

Tile maps

Geography · 5

Symbol maps

Geography · 4

Word clouds

Text & words · 4

Word charts

Text & words · 7

Cards & gauges

KPIs & tables · 9

Tables

KPIs & tables · 7

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

Kopi susu36%Latte21%Americano15%Pastry14%Teh13%

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

2.5k2.7k2.8k2.9kSurabayaBandung

✓ Better

01.7k3.3k5kSurabayaBandunggap: 12%

Too many slices

Eight similar slices can't be ranked by eye. A sorted bar chart shows the order and the values.

✗ Misleading

✓ Better

Jakarta5.2kSurabaya2.9kBandung2.6kMedan2.1kDenpasar1.9kYogyakarta1.8kMakassar1.6kSemarang1.5k

Spaghetti lines

Eight colours compete for attention. Grey out the context and colour the one line the story is about.

✗ Misleading

0333.3666.71k

✓ Better

0333.3666.71kMakassar

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

02004006008001k

✓ Better

05001k1.5k2k2.5kDec: year-end peak, 2.1kJFMAMJJASOND

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

05001k1.5k2k2.5k4.204.454.70Revenue (left)Satisfaction (right)JFMAMJJASOND

✓ Better

80104128152176200JakartaSurabayaBandungMedanJanMaySepJanMaySep