How to make a density plot
-
Paste your data
Paste cells from a spreadsheet or upload a CSV with a number column for Value, plus a text column for Group if you have it.
-
Check the columns
The density plot 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 density plot?
A density plot is a smoothed version of a histogram: a continuous curve estimated from the data that shows where values concentrate, with groups overlaid on one axis.
How to read it
Higher parts of the curve mean values are more common there and the area under each curve is the same. Compare where the peaks sit and how wide each curve spreads.
When to use it
Smooth curves of where values bunch, overlaid to compare groups. It is one of the distribution charts, which show how values spread out, cluster and stray.
For many groups the overlapping curves turn into a tangle, so use a Ridgeline. For small samples or counts people need to read, a Histogram is more honest.
Tips for a better density plot
- Overlay at most three or four groups, so the translucent fills stay distinguishable where the curves overlap.
- Remember the curve can extend past the real minimum or maximum, so do not read the tails as actual values.
- Check the result against a Histogram if the curve shows an unexpected bump, since smoothing can create or erase small features.
Data you need
One row per item with a number column for Value, plus a text column for Group if you have it. Column names can be anything; the chart maker matches columns by type, and you can change the match under Data.
| Region | Load time (s) |
|---|---|
| Europe | 2.03 |
| Europe | 2.00 |
| Europe | 2.10 |
| Europe | 2.10 |
| Europe | 3.23 |
| Europe | 2.20 |
| Europe | 1.95 |
| Europe | 2.39 |
Other charts for the same data
More distribution charts
Questions, answered
- What is a density plot?
- A density plot is a smoothed version of a histogram: a continuous curve estimated from the data that shows where values concentrate, with groups overlaid on one axis.
- How do you read a density plot?
- Higher parts of the curve mean values are more common there and the area under each curve is the same. Compare where the peaks sit and how wide each curve spreads.
- How do I make a density plot?
- Paste your data into the chart maker with a number column for Value, plus a text column for Group if you have it. The density plot draws as you type. Then pick a look and a size and download it as SVG or PNG.
- When should I use a density plot?
- Smooth curves of where values bunch, overlaid to compare groups. It belongs to the distribution family of charts, which show how values spread out, cluster and stray. For many groups the overlapping curves turn into a tangle, so use a Ridgeline. For small samples or counts people need to read, a Histogram is more honest.
- Is this density plot maker free?
- Yes. It is free with no sign-up, your data stays in your browser, and you can download the density plot as SVG or PNG.