Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Face with d3.js!

Public visualization

Viewing a saved revision (read-only)

84eacc6e3b914d8aac2a2a2f1f70567c

Fork of Fork of Face with d3.js!

0 stars0🌍 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.