This post describes how to build a very basic ridgeline plot with d3.js, also called joy plot. You can see many other examples in the ridgeline section of the gallery. Learn more about this kind of chart in data-to-viz.com.
scaleLinear()
. The second for the groups, with scaleBand()
kernelDensityEstimator
d3.line()
. Learn more about shape helpers here.