How do I make charts and dashboards?
Summarize your data first, pick the chart that fits the question, map values to positions on screen, and label everything so the chart can't be misread.
Every chart starts with a question, such as which product sells most or how sales changed each month. Then:
- Summarize: count, add up, average or group the raw data.
- Choose the chart: bars compare categories, lines show change over time, and pie or donut charts only work for a few parts of a whole.
- Scale: convert data values into pixels with a simple formula, which is what every chart library does underneath.
- Label: axes with round, readable numbers and units, and clearly formatted money, percentages and dates.
- Use color for meaning, not decoration, and check it still works for color-blind readers.
A dashboard combines a few charts with headline numbers, often called KPIs (key performance indicators), in a layout that goes from one column on a phone to a grid on a laptop. Plan for empty and loading states too.
Watch AI-made charts closely. A common problem is an axis that doesn't start at zero, which makes a small difference look huge. Check that the numbers behind every bar are right.
Vumbli's Charts, Dashboards & Data Viz track builds bar, line and donut charts from scratch in SVG, covers honest axes and readable numbers, has you fix an AI's misleading chart, and ends with a mini sales dashboard.
Start with these missions
- Build a live dashboard in 60 seconds with AI (Charts, Dashboards & Data Viz)
- Read a dataset like an analyst (Charts, Dashboards & Data Viz)
- Scales: turn numbers into pixels (Charts, Dashboards & Data Viz)
Tracks that teach it
More questions, answered by building