Assignment 2_Q2
✓ Published0🌍 Public
This area chart visualizes annual sales data over time, with a blue filled region under a line that tracks the sales figures across different years. The chart is built using D3 version 7 and renders as an SVG. It loads data from a remote CSV file using `d3.csv` and constructs the visualization by applying a band scale for the x-axis (Year) and a linear scale for the y-axis (Sales). The area is generated with `d3.area`, while axes and labels are added via `d3.axisBottom`, `d3.axisLeft`, and text elements.
AI-generated descriptionMIT Licensed