Skip to main content
100%

Area Chart Activity 8

✓ Published0🌍 Public
BBhavyaMammai
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This area chart displays the cost of sales from 2000 to 2013, using a smooth curve to show the trend over time. The visualization includes labeled axes and a shaded area beneath the line to highlight the magnitude of values. Built with D3 v5, it loads CSV data from a GitHub gist, parses the year and cost fields, and uses `scaleTime`, `scaleLinear`, `area`, `line`, and `curveBasis` to generate the chart. The SVG rendering is styled with CSS for tick colors, axis labels, and the light green fill.

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