# Choosing a chart

| Question | Chart | What to show |
| --- | --- | --- |
| Which value ranks highest? | Horizontal bars | Include units, a zero baseline and the full category names. |
| How do two series compare? | Grouped bars | Name each series and use the same unit and scale. |
| How has a value changed? | Line | Label time intervals and break the line wherever observations are missing. |
| What makes up a total? | Donut | Show the total and each category. Check that categories are mutually exclusive. |
| How has the mix changed? | 100% stacked bars | Identify each row’s denominator. Add absolute values when people also need to compare totals. |
| How close are we to a goal? | Progress bar | State the actual and target values. Define what negative and above-target values mean. |

The gallery uses synthetic data. Keep the reporting period, units and aggregation consistent when using real data. Pair color with values or labels. Give complex charts a text summary and a table with equivalent values. If you use a charting library, check the license and notices shipped with it and the terms for any third-party datasets or images.

[Interactive chart gallery](../tools/charts.en.html) · [W3C guidance on complex images](https://www.w3.org/WAI/tutorials/images/complex/) · [Apache ECharts license](https://github.com/apache/echarts/blob/master/LICENSE)
