Assignment 2 - Question 2
✓ Published0🌍 Public
This area chart displays declining population figures across years from 2000 to 2019, based on data from a CSV file. The visualization uses D3.js version 6 with SVG rendering, featuring a light yellow filled area with a subtle stroke. Interactive tooltips appear on hover over invisible circles positioned along the data points, showing the exact year and population value. The chart employs d3.area() for the area path, d3.scaleLinear() for both axes, and d3.axisBottom()/d3.axisLeft() for tick marks, with tooltip transitions providing animated feedback.
AI-generated descriptionMIT Licensed