🌍 Public
Viewing a saved revision (read-only)
3f14755b8ef94bdb968bd480ba03971b
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 descriptioncombined line and area charts