How to make a lollipop chart
-
Paste your data
Paste cells from a spreadsheet or upload a CSV with a text, date or number column for Category and a number column for Value.
-
Check the columns
The lollipop chart picks its columns for you. Change any of them under Data.
-
Style it and download
Under Style, pick a look, colours, background and size, add a title and source, then download SVG or PNG.
What is a lollipop chart?
A lollipop chart is a sorted bar chart that replaces each bar with a thin line ending in a dot. It carries the same information as a bar chart with far less ink.
How to read it
The position of each dot along the axis is the value, and the line simply connects it back to zero. Because rows are sorted, scan the dots from top to bottom for the ranking.
When to use it
A lighter bar chart when many values are similar. It is one of the magnitude charts, which compare how big things are, side by side.
For a few categories with very different values, a plain Bar chart reads faster. If you need to show a positive and negative split around zero, use a Diverging lollipop.
Tips for a better lollipop chart
- Reach for it when many values are close together, since a block of near-identical bars looks heavy.
- Keep the value axis starting at zero so the stems still read as lengths.
- Use it for twenty or more categories, where thin stems keep the chart light.
Data you need
One row per item with a text, date or number column for Category and a number column for Value. Column names can be anything; the chart maker matches columns by type, and you can change the match under Data.
| Language | Developers (millions) |
|---|---|
| JavaScript | 17.4 |
| Python | 15.7 |
| Java | 9.2 |
| C# | 7.1 |
| TypeScript | 6.9 |
| PHP | 5.0 |
| C++ | 4.8 |
| Go | 3.3 |
Other charts for the same data
More magnitude charts
Questions, answered
- What is a lollipop chart?
- A lollipop chart is a sorted bar chart that replaces each bar with a thin line ending in a dot. It carries the same information as a bar chart with far less ink.
- How do you read a lollipop chart?
- The position of each dot along the axis is the value, and the line simply connects it back to zero. Because rows are sorted, scan the dots from top to bottom for the ranking.
- How do I make a lollipop chart?
- Paste your data into the chart maker with a text, date or number column for Category and a number column for Value. The lollipop chart draws as you type. Then pick a look and a size and download it as SVG or PNG.
- When should I use a lollipop chart?
- A lighter bar chart when many values are similar. It belongs to the magnitude family of charts, which compare how big things are, side by side. For a few categories with very different values, a plain Bar chart reads faster. If you need to show a positive and negative split around zero, use a Diverging lollipop.
- Is this lollipop chart maker free?
- Yes. It is free with no sign-up, your data stays in your browser, and you can download the lollipop chart as SVG or PNG.