🌍 Public
Viewing a saved revision (read-only)
19b363120461435ea39fe05ad6eba5e5
Ques2-Assignment2_siri
This example compares median housing prices over time between New York and Texas using a D3.js area chart. The visualization displays two semi-transparent filled regions—coral for New York and dodger blue for Texas—allowing users to see price trends and overlaps. It loads CSV data from a GitHub gist via `d3.csv`, parses dates with `d3.timeParse`, and renders axes, labels, and a legend as SVG. The tooltip, implemented as a DOM overlay, reveals exact values on hover. The chart resizes dynamically to fit the browser window.
AI-generated description