Skip to main content
100%

Area Chart Activity 8

✓ Published0🌍 Public
MmNamratha25
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

This area chart displays the cost of sales from 2000 to 2013, with a smooth curve highlighting trends over time. The visualization loads CSV data via d3.csv, parses the year column into Date objects, and uses d3.scaleTime and d3.scaleLinear to map data to SVG coordinates. The chart combines a line generator and an area generator, both using d3.curveBasis, with custom axis labels and tick formatting via 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