Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HW6

Public visualization

Viewing a saved revision (read-only)

0ab8c155755f4e2d8791bef8a9feea58

HW6

0 stars0🌍 Public
Jjerry70938@gmail.com
Last edited Oct 20, 2024
Created on Oct 19, 2024
Forked from Iris_312553048_HW1

This visualization shows a ThemeRiver of house property sales in a specific area from 2007 to 2019, with each colored stream representing homes with two, three, four, or five bedrooms. The height of each stream reflects the median sale price (in dollars) for that property type quarterly. The code uses d3.stack with stackOffsetWiggle to create the flowing river layout, d3.area to draw the paths, and d3.scaleTime, d3.scaleLinear, and d3.scaleOrdinal for axes and coloring. An interactive tooltip, styled via CSS, reveals the exact price and season when hovering over any stream.

AI-generated description