Skip to main content
100%

Area Chart Activity 8

✓ Published0🌍 Public
Aaniteshterala2000
Last edited Jul 12, 2023
Created on Jul 12, 2023
Forked from Hello VizHub

A smooth, basis-curved area chart displays the cost of sales from 2000 to 2013. The visualization renders an SVG with a black line and a light green filled area, using a time-scaled x-axis and a linear y-axis with red tick labels. The D3 v5 code builds the chart with `scaleTime`, `scaleLinear`, `axisLeft`, `axisBottom`, `line`, and `area` generators, parsing CSV data that includes dates and numeric cost values.

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