HW6
✓ Published0🌍 Public
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 descriptionMIT Licensed