🌍 Public
Viewing a saved revision (read-only)
5c20bb80f8d34348a19d7e4a5fc75978
Activity 7.1 Question 2
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 description