Best Data Viz
Distribution

Density Plot

Smooth continuous estimate of a distribution using kernel density estimation.

Session Duration Distribution

Kernel density estimate (minutes)

View data (30 rows)
Chart data table: Session Duration Distribution
Duration
8
10
12
14
15
16
18
19
20
21
22
23
24
25
25
26
27
28
29
30
31
32
34
36
38
40
42
45
50
60
Make a density plot with your data

Use a density plot when…

  • Showing distribution shape smoothly
  • Comparing overlapping distributions

Avoid when…

  • Discrete data
  • When exact counts matter (use histogram)

Data it needs

PropertyValue
Min Rows10
Min Columns1
Column Types
number

Visual anatomy

Marks
area
Channels
position-xheight (density)
Axes
x-quantitativey-density

Guiding principles

Consider instead

Common mistakes

  • Wrong bandwidth selection

  • Ignoring edge effects

History

Based on kernel density estimation developed by Rosenblatt (1956) and Parzen (1962).

Accessibility notes

Provide a quartile / peak summary table (min, Q1, median, Q3, max, mode) as text — generic 'summary statistics' alone leaves screen-reader users without the shape information the curve carries.

Related reading

Got data? Let's see what works.

Drop your CSV. You'll get a Density Plot plus four alternatives - ranked by which one actually fits your data best.