Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7.1_Question 5

Public visualization

Viewing a saved revision (read-only)

c0fef1b00c034990a171933df196ec53

Activity 7.1_Question 5

0 stars0🌍 Public
Aakhilasannayila@gmail.com
Last edited Nov 7, 2024
Created on Nov 7, 2024

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 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.