Skip to main content
100%

Streamgraph

✓ Published0🌍 Public
GGerHobbelt
Last edited Sep 9, 2012
Created on Mar 3, 2012

This example demonstrates a streamgraph with 20 layers and 200 samples per layer, where the layers smoothly transition between two different datasets when the "Update" button is clicked. The visualization uses color-coded stacked areas that wiggle and morph over a 1.5-second duration, with hover interactions fading non-target layers. Built with d3.v2, it relies on the `d3.layout.stack` with the "wiggle" offset, `d3.svg.area` for rendering paths, and `d3.interpolateRgb` for color generation. Data is procedurally generated via the `stream_layers` function, and rendering uses SVG with custom transitions.

AI-generated description

Similar vizzes