Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of CSCE 5320 ASSIGNMENT 2 QUESTION 2

Public visualization

Viewing a saved revision (read-only)

26f73b0276e5488b90a662a61e5d3dba

Fork of CSCE 5320 ASSIGNMENT 2 QUESTION 2

0 stars1🌍 Public
Ssriharshakondakindi@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024

An area chart visualizes nuclear energy usage from 2010 to 2020, plotting year against quantity. The chart uses D3 v5 with SVG rendering, employing `scaleTime`, `scaleLinear`, `line` and `area` generators with `curveBasis` for smooth paths. Data is loaded from a CSV file via `d3.csv` and parsed using `d3.timeParse`. Axis labels and tick formatting are customized, and the chart includes gridlines derived from axis ticks.

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.