Activity 7.1 Question 2
✓ Published0🌍 Public
This area chart shows monthly website traffic, with visitors plotted against months on a blue-labeled axis grid. The code imports D3 v5 functions like `select`, `csv`, `scaleTime`, `scaleLinear`, `axisLeft`, `axisBottom`, `area`, and `curveBasis` to load CSV data, parse months, and render a smooth orange area path beneath the curve. The SVG’s width and height attributes drive the coordinate system, while margins position the axes and labels. Data is fetched from a GitHub gist, with the y-axis fixed between 1,000 and 2,400 visitors.
AI-generated descriptionMIT Licensed