Assisgment 2 - Question 2
✓ Published0🌍 Public
This area chart displays chocolate sales data for a single categorical series, with value labels positioned above each point. The visualization uses D3 v7 to fetch a CSV from a GitHub gist, then constructs a band scale for the x-axis and a linear scale for the y-axis. The chart renders a filled area path using `d3.area`, with axes generated by `d3.axisBottom` and `d3.axisLeft`, and individual sales values added as SVG text elements.
AI-generated descriptionMIT Licensed