Skip to main content
100%

Theme River Graph

✓ Published1🌍 Public
方方顗棠
Last edited Nov 7, 2023
Created on Nov 7, 2023
Forked from D3 Starter

A theme river graph displays the median property value over time across Melbourne suburbs, colored either by property type or by number of bedrooms. Interactive buttons switch between grouping methods, and hovering reveals tooltips with details. The visualization uses d3.nest to aggregate data from a CSV, calculates yearly medians, and renders stacked areas with d3.area and d3.curveCardinal, offset by d3.stackOffsetSilhouette. The SVG output is driven by d3.scaleLinear axes, with color assigned via d3.scaleOrdinal and d3.schemeCategory10.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes