Skip to main content
100%

Area Chart ICE 7

✓ Published0🌍 Public
SSaahithi49
Last edited Jul 3, 2022
Created on Jul 2, 2022
Forked from Hello VizHub

This example renders an area chart of exchange rates over the last week using D3 v5. The code loads CSV data via `d3.csv`, parses dates and numeric values, then uses `scaleTime` and `scaleLinear` to map data to SVG coordinates. It draws the area with `d3.area` and `curveBasis`, and adds labeled axes via `axisBottom` and `axisLeft`. Data is fetched from a GitHub gist, and the chart is displayed within a 960×500 SVG.

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