Skip to main content
100%

etape3

✓ Published0🌍 Public
NNaamaNaa
Last edited Nov 29, 2017
Created on Nov 29, 2017

This example animates a small multiples chart of monthly stock prices for three companies, transitioning from individual line charts into a stacked area chart. The visualization sorts symbols by their maximum price and uses D3’s nest layout to group data by symbol, with a timer driving the initial drawing of lines. It then applies D3’s stack layout, area, and line generators with basis interpolation to overlay and offset the series, while SVG transitions remove the per-symbol transforms and adjust stroke opacity.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes