Skip to content
English

Chart Design Guidelines and React Chart Chooser

Charts in LayQ Design: choose what the data should show and see the recommended LayQ chart components live, the parts of a chart and how it adapts to a phone, colour in charts, number formatting and how to compose a dashboard.

Chart chooser

Say what the data should show. Get the chart, and the one to avoid.

Change over time: use Bar chart or Line chart. Avoid: A donut for time. Slices lose the order of the days and the change between them.

Use

Orders This week

0

Orders
PeriodValue
Mon42
Tue51
Wed47
Thu63
Fri58
Sat71
Sun66
Bar chart

Revenue Last 8 months

0k

Revenue
CategoryRevenue
Apr18.2k
May19.6k
Jun19.1k
Jul21.4k
Aug22.8k
Sep22.1k
Oct24.6k
Nov26.3k
Line chart

Anatomy

Every part earns its place. Point at a part to find it.

VisitorsLast 12 months · thousands
44K+42%
  • This year
  • Last year

Sparkline below 300px

Colour

Colour carries data. It never decorates it.

Max 8
  • Search345.2:1
  • Direct273.6:1
  • Email214.2:1
  • Social173.6:1
  • Ads144.5:1
  • Video123.3:1

Categorical colours come in order from the plan; past eight categories the smallest merge into Other. Amounts use one hue from light to dark, changes around zero use two hues that meet at a neutral middle, and status uses the fixed status colours with an icon and a word.

Data colours

Numbers

Ticks are read at a glance: short, aligned, one unit.

Data formats
Revenue · USD
  1. 1M
  2. 750K
  3. 500K
  4. 250K
  5. 0
Do Same decimals in a column.
Don't Decimals that jump.

Dashboards

Five to nine modules. The number first, then the why.

  • 5–9 modulesPasses
  • Numbers firstPasses
  • One accentPasses
  • One time rangePasses