The right chart makes your data instantly understandable. The wrong chart makes it misleading or unreadable. The choice depends on what you're trying to show — comparison, trend, distribution, or relationship — and choosing correctly is the difference between a chart that communicates and one that confuses.
Bar Charts: For Comparisons
Bar charts compare discrete categories. The length of each bar represents a value, making it easy to see which category is largest or smallest. Use bar charts when:
- Comparing sales across product categories
- Showing survey results (e.g., vote counts per option)
- Displaying monthly revenue across different regions
Use horizontal bars when category names are long. Use grouped bars to compare sub-categories within each main category. Avoid bar charts for continuous data — use line charts instead.
Line Charts: For Trends Over Time
Line charts show how a value changes over a continuous interval, usually time. They're ideal for:
- Stock prices over days or months
- Website traffic trends
- Temperature changes throughout the day
- Revenue growth over quarters
Use multiple lines to compare trends across categories, but limit to 3-4 lines. More than that becomes unreadable — consider small multiples (separate small charts side by side) instead.
Pie Charts: For Parts of a Whole (Use Sparingly)
Pie charts show how a total is divided into proportions. They work well when you have 3-5 categories that add up to 100%. Beyond that, they become hard to read — humans struggle to compare angles accurately.
In most cases, a bar chart communicates the same information more clearly. Reserve pie charts for situations where the "part of whole" message is the primary point, and keep them to 5 slices maximum. Consider a donut chart, which is easier to read because the centre removes the angle-comparison problem.
Scatter Plots: For Relationships
Scatter plots show the relationship between two variables. Each point represents one observation, plotted on an X-Y grid. Use them when:
- Exploring whether two variables correlate (e.g., price vs. square footage)
- Identifying outliers or clusters in data
- Showing the distribution of data points across two dimensions
Add a trend line to make the relationship explicit. Use colour or size to encode a third variable (bubble charts).
Area Charts: For Cumulative Trends
Area charts are line charts with the area below the line filled in. They emphasise the volume or magnitude of change over time. Stacked area charts show how multiple categories contribute to a total that changes over time.
Use stacked area charts sparingly — the categories on top are hard to compare because their baselines shift. Consider small multiples or a line chart instead.
Heatmaps: For Two-Dimensional Data
Heatmaps use colour intensity to represent values in a grid. They're excellent for:
- Showing activity by hour of day and day of week
- Correlation matrices between variables
- Geographic data (choropleth maps)
Decision Framework
| Goal | Best Chart |
|---|---|
| Compare categories | Bar chart |
| Show trend over time | Line chart |
| Show proportions | Pie/donut (≤5 categories) |
| Show correlation | Scatter plot |
| Show distribution | Histogram / box plot |
| Show 2D patterns | Heatmap |
Common Mistakes
- Using a pie chart for time series: Pie charts can't show trends. Use a line chart.
- Starting bar chart axes above zero: This exaggerates differences. Bar charts should always start at zero.
- Too many lines on one chart: If lines overlap, the chart is unreadable. Split into separate charts.
- 3D charts: 3D effects distort proportions and make values harder to read. Stick to 2D.
The chart tool on this site supports bar, line, pie, doughnut, scatter, radar, and area charts using Chart.js, ECharts, and Plotly. Paste your data, choose a chart type, and customise colours and labels. Everything renders in your browser.