Skip to main content
100%

Area Chart Activity 8

✓ Published0🌍 Public
HHarshithaAmbilpur
Last edited Jul 11, 2023
Created on Jul 11, 2023
Forked from Hello VizHub

This area chart displays the cost of sales from 2000 to 2013, using a green filled region beneath a black curve. The visualization loads CSV data via `d3.csv`, parses years as dates, and renders with SVG paths generated by `d3.area` and `d3.line` with a `curveBasis` interpolation. Axes are created using `d3.axisBottom` and `d3.axisLeft`, with scales from `d3.scaleTime` and `d3.scaleLinear`, while tick formatting uses `d3.format`.

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