Skip to main content
100%

Joyplot Update Pattern II

✓ Published0🌍 Public
TThanaporn-sk
Last edited Feb 6, 2018
Created on Feb 6, 2018

Nine labeled density curves, one for each name from a hardcoded array, form an updating joyplot. Every second, `d3.interval` regenerates random data via `makeData` and `jz.num.randBetween`, and `d3.area` redraws the stacked shapes with a basis curve. SVG transitions update the path geometry, with white strokes separating alternating steelblue and lightskyblue areas, while baselines and axis labels remain static. The code uses `d3.scaleBand` and `d3.scaleLinear` to position the bands and an `d3.axisBottom` for the x-axis.

AI-generated description

Another updating joyplot, this one with labels and an axis and some more reasonable design decisions. See also Joyplot Update Pattern.

forked from <a href='http://bl.ocks.org/HarryStevens/'>HarryStevens</a>'s block: <a href='http://bl.ocks.org/HarryStevens/974ee8aadb9d1676d62202ef5e367577'>Joyplot Update Pattern II</a>

gpl-3.0 Licensed

Similar vizzes