This post describes how to build a
density chart with several groups using
d3.js. It follows the previous basic density chart and is useful to
compare the distribution of several variables. More density chart
examples in the density chart section of
the gallery. This example works with d3.js v4
and
v6
filter()
function. See more on
data manipulation.
Density is estimated and plotted for each part.