Skip to main content
100%

Area Chart Activity 8

✓ Published0🌍 Public
VVenkat-Sumith-Thota
Last edited Jul 9, 2023
Created on Jul 9, 2023
Forked from Hello VizHub

This example visualizes the cost of sales from 2000 to 2013 as an area chart with an overlaid line. It uses D3 v5 with SVG rendering, importing `scaleTime`, `scaleLinear`, `line`, `area`, and `curveBasis` from D3. The chart loads CSV data from a GitHub gist, parses the Year and Cost fields, and displays axes with gridlines and labeled axis titles. The area and line paths are generated using `d3.area` and `d3.line` with a basis curve.

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