Fork of Fork of Face with d3.js!
✓ Published0🌍 Public
This example shows a line chart of monthly student enrollment in 2023, using a categorical point scale for the months and a linear scale for the enrollment counts. It loads D3 from UNPKG, imports `select`, `scalePoint`, `scaleLinear`, `axisLeft`, `axisBottom`, and `line` from the library, and fetches its CSV data from a GitHub gist. The chart draws axes with gridlines, labels, and a title, while the `line()` generator creates the path connecting data points, all rendered inside an SVG with fixed margins.
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.
MIT Licensed