Skip to main content
100%

Fork of Fork of Face with d3.js!

✓ Published0🌍 Public
Rreddysushma994@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes