Density Plot


Graphs / Plots
Distribution, Patterns

What is it?

Also known as a Kernel Density Plot or Density Trace Graph.
A Density Plot visualises the distribution of data over a continuous interval or time period. This chart is a variation of a http://datavizcatalogue.com/methods/histogram.html that uses https://en.wikipedia.org/wiki/Kernel_smoother to plot values, allowing for smoother distributions by smoothing out the noise. The peaks of a Density Plot help display where values are concentrated over the interval.

An advantage Density Plots have over Histograms is that they’re better at determining the https://en.wikipedia.org/wiki/Shape_of_the_distribution
 because they’re not affected by the number of bins used (each bar used in a typical histogram). A Histogram comprising of only 4 bins wouldn’t produce a distinguishable enough shape of distribution as a 20-bin Histogram would. However, with Density Plots, this isn’t an issue.

When to use it?

 

Tools to create the Charts

Code-based:
http://www.cookbook-r.com/Graphs/Histogram_and_density_plot/https://d3-graph-gallery.com/density.htmlhttps://www.python-graph-gallery.com/density-plot/https://r-graph-gallery.com/density-plot.htmlhttps://vega.github.io/vega/examples/probability-density/https://vega.github.io/vega-lite/examples/area_density.html

Webapp:
https://www.datylon.com/https://www.everviz.com/blog/inspired/line-charts/probability-of-x-line-chart/

Desktop App:
Tableau

 

Similar Charts : Histogram (Data%20Visualisation%20cfe04a5761eb434cace32c6033e3a4e3/Histogram%20ee947be4c8c74027acd5664da7dbb295.csv)