Seeing Data: Choosing the Right Chart
Kinds of data, marks and channels, picking a chart from the question, how eyes group things, and how to tell an honest chart from a misleading one.
Drawing a chart takes a few lines of code. Choosing the right one is the hard part. This phase teaches the judgment that comes before any code: what kind of data you have, which visual property (position, length, angle, colour) the eye reads best, and which chart answers which question.
Every principle is a live before-and-after on real Lumen Bikes numbers, drawn with plain SVG. You see a 25-slice pie fail and a sorted bar chart succeed, you measure how much a cut axis exaggerates, and you watch a crowded chart turn readable.
At the end you add a chart plan to the dashboard (which chart answers which team question) and replace the pie idea with a hand-made, sorted picture of the five emptiest stations.
Phase 2 · the story
Priya, operations lead
“Which stations run out of bikes? Someone drew a pie chart of all 25 and I can't read a single slice.”
Every morning Priya, the operations lead, decides where the vans carry bikes. Her question is simple: which stations are running empty right now? A colleague tried to help and put a chart on the wall screen: a pie with 25 slices, 25 colours and 25 labels that overlap in the middle.
Priya squints. She can see that some slices are big and some are tiny, but she cannot tell the fourth biggest from the fifth, and she cannot find Windmill at all. "I don't need a pretty picture. I need to know where to send the van."
The data is fine. The problem is the choice of chart. In this phase the team learns to pick a chart from the question, and by the end the dashboard answers Priya's question with five sorted bars she can read in two seconds.
In this phase
You will learn
- Tell the four kinds of data apart and say what each one allows
- Rank the ways the eye reads a chart (position, length, angle, area, colour) and choose the best one
- Pick a chart from the question it must answer, and spot a misleading one
- Add a chart plan and a hand-made sorted bar picture to your dashboard
You write code in
In the editor on this page, and in your own lumen-dashboard/index.html (no install needed)
Files you touch
- index.html
Practise this phase
Hands-on exercises: write the code, see your page live, and press Check to have it tested automatically.