Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ASSIGNMENT-2_QUESTION-2

Public visualization

ASSIGNMENT-2_QUESTION-2

0 stars0🌍 Public
Ssiddhartha gurram
Last edited Apr 8, 2024
Created on Apr 8, 2024
Forked from area chart

This D3.js area chart visualizes data loaded from a CSV file hosted on GitHub, displaying a time series of values over years. The SVG-based visualization uses `d3.scaleLinear` to map the data domain to pixel coordinates, generates the area path with `d3.area`, and renders labeled axes via `d3.axisBottom` and `d3.axisLeft`. Labels "Year" and "Value" are added to the corresponding axes. The chart is embedded in an HTML page that loads D3 v7 from a CDN.

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.

Comments

Sign in to join the discussion.

MIT Licensed