🌍 Public
Viewing a saved revision (read-only)
c0fef1b00c034990a171933df196ec53
Activity 7.1_Question 5
This example visualizes the number of US students in a university from 2000–08, combining an area chart with an overlaid line chart to emphasize both the trend and cumulative magnitude of student counts over time. The visualization uses D3 v5 APIs, including `scaleLinear` for axes, `line` and `area` generators with `curveBasis` for smooth curves, and `axisBottom`/`axisLeft` for labeled axes. Data is loaded via `csv` from an external GitHub Gist, and rendering uses SVG elements with styled paths for the line and area.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.