Skip to main content
100%

Area Chart Activity 8

✓ Published0🌍 Public
MManideeprenikindi
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from Hello VizHub

This area chart displays the cost of sales from 2000 to 2013, with a smooth curved line and a light green filled area beneath it. The visualization uses D3 v5 APIs including `scaleTime`, `scaleLinear`, `line`, and `area` with `curveBasis` to generate the SVG paths. Axis labels are highlighted in orange, tick values in red, and gridlines in gray. The data is loaded and parsed from a CSV file hosted on GitHub using `d3.csv`, with year values converted to JavaScript `Date` objects for the time scale.

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