Assignment 2 Question 2(a)
✓ Published0🌍 Public
This area chart visualizes mobile phone prices over time, with cost on the y-axis and year on the x-axis. The chart uses a smooth curve to connect data points and fills the area beneath the line in light blue. The visualization is built with D3 v5, employing `scaleTime` and `scaleLinear` for axes, `line` and `area` generators with `curveBasis` for the smooth path, and `axisBottom`/`axisLeft` for tick marks. Data is loaded from a remote CSV file and parsed with `d3.timeParse` to extract years from date strings.
AI-generated descriptionDisplaying Area Chart
MIT Licensed