Skip to main content
100%

Activity 7 area chart

✓ Published0🌍 Public
BBamanGayathri
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

This area chart visualizes car sales from 2014 to 2024, with the x-axis mapping time and the y-axis showing sales volume. The chart combines a smooth black line and an orange filled area, with a legend positioned at the top-right. The code uses D3 v5 functions like `scaleTime`, `scaleLinear`, `line`, `area`, and `curveBasis` to generate SVG paths, and loads data from a CSV hosted on GitHub.

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