Choosing the Right Chart for Your Data
A chart is an argument made with shapes. The right one makes a pattern obvious in seconds. The wrong one hides it, or worse, suggests something false. Most bad charts do not come from bad design skills. They come from picking a chart type before deciding what the data should say.
A reliable method starts with the question, not the chart. Ask what comparison or pattern the viewer needs to see, then choose the form that shows it most directly.
Start with the question
Most chart choices fall into a few purposes:
- Comparison: which category is larger or smaller?
- Change over time: how does a value move across days, months or years?
- Relationship: do two measures move together?
- Distribution: how are values spread out, and are there outliers?
- Composition: how does a whole divide into parts?
Name your purpose in one sentence before you open any charting tool. If you cannot, the chart will probably be confusing.
Bar charts for comparing categories
The bar chart is the workhorse. It lines up bars along a common baseline so the eye can compare lengths, which people judge accurately. Use it to compare values across categories, such as sales by region or tickets by team.
A few habits keep bar charts honest:
- Start the value axis at zero. Cutting it off exaggerates differences.
- Sort bars by value unless the categories have a natural order.
- Use horizontal bars when labels are long.
- Keep one color unless color carries meaning.
Line charts for change over time
A line chart connects points in time order, which makes trends, cycles and sudden shifts easy to see. Use it when the horizontal axis is continuous time, such as daily visitors across a year.
Keep the number of lines small. Five or six lines are about the limit before the picture turns to spaghetti. If you must compare many series, consider small multiples, which are several small charts sharing the same scale. Unlike bars, line charts do not always need a zero baseline, but the axis range should still be chosen carefully so small wiggles are not dramatized.
Scatter plots for relationships
A scatter plot places each item as a point, with one measure on each axis. It shows whether two variables rise together, move in opposite directions or have no clear link. It also reveals clusters and outliers.
Add a trend line if the relationship is roughly steady, and remember that a visible pattern does not prove one measure causes the other. A third measure can be encoded with point size or color, but too many encodings make a scatter plot hard to read.
Histograms and box plots for distribution
To see how values are spread, use a histogram. It groups values into ranges, called bins, and shows how many fall into each. You can spot whether the data is symmetric, skewed or has multiple peaks. The number of bins changes the look, so try a few.
A box plot summarizes a distribution with its median, the middle half of values and any outliers. It is compact, so it works well for comparing the spread of several groups side by side.
Pie charts and composition
Pie charts are often criticized, and with reason. People are poor at comparing angles and areas. A pie can work when you have two to four slices and one clearly dominant share. Beyond that, a sorted bar chart is almost always easier to read.
For parts of a whole over time, a stacked bar or stacked area chart can work, but only the bottom series sits on a common baseline. The rest are hard to compare. If the main message concerns one segment, put it at the bottom or highlight it.
Charts to use with caution
Some formats cause more confusion than insight:
- 3D effects distort sizes and add nothing.
- Dual-axis charts can imply a link between two series simply by how the scales are set. Use them sparingly and label both axes clearly.
- Radar charts look striking but are hard to read accurately.
- Heavy decoration, such as thick gridlines, shadows and background images, competes with the data.
Match the chart to the audience
A specialist may be comfortable with box plots and log scales. A general audience usually needs something simpler. Put the main message in the title, such as "Support tickets doubled after the March release," rather than a vague label like "Tickets by month." Annotate the key point directly on the chart instead of making viewers hunt for it.
A quick selection guide
- Comparing a few categories: bar chart.
- Showing a trend across time: line chart.
- Showing two measures together: scatter plot.
- Showing spread of one measure: histogram or box plot.
- Showing a part-to-whole split with few parts: pie or a single stacked bar.
- Showing exact values people will look up: a plain table.
Check before you share
Read the chart as if you had never seen the data. Is the title clear? Are axes labeled with units? Is color used consistently and in a way that works for color-blind viewers? Does the chart stay truthful if someone glances at it for three seconds? If not, simplify.
Frequently Asked Questions
Should a bar chart always start at zero?
Yes, in almost all cases. Bars encode value through length, so a truncated axis makes small differences look large. Line charts and scatter plots have more freedom, because position rather than length carries the message.
When is a pie chart acceptable?
When you show a small number of slices, ideally two to four, and the main point is a share of a whole. If slices are similar in size or numerous, a sorted bar chart communicates more clearly.
How many colors should a chart use?
As few as possible. Use one neutral color for most data and a contrasting color to highlight the item that matters. When categories need distinct colors, keep the set small and test that it is readable for color-blind viewers.