Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Homework 6

Public visualization

Homework 6

0 stars2🌍 Public
Jji3ji3ji3195@gmail.com
Last edited Oct 20, 2024
Created on Oct 11, 2024
Forked from Homework 1

This interactive ThemeRiver chart visualizes median house prices over time, segmented by property type and bedroom count, using data from `ma_lga.csv`. The stacked streamgraph renders as SVG paths generated with `d3.area()` and `d3.curveBasis`, with colors from `d3.scaleOrdinal(d3.schemeTableau10)`. Users can click side labels to hide streams, hover to display a tooltip with date and price via `d3.pointer`, and click two streams to swap their stacking order, triggering an animated re-render with `d3.flatGroup` and `d3.minIndex`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed