Skip to main content
100%

Activity 8 Q4

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

This visualization displays the cost of sales from 2000 to 2013 as an area chart with a smooth curved line. The chart uses D3 v5’s `scaleTime` and `scaleLinear` to map dates and cost values, with a line generator and area generator using `curveBasis`. Data is loaded from a CSV file via `d3.csv`, and the SVG rendering includes styled axes, tick marks, and green shading under the line. The chart highlights yearly cost trends with clear labels for both axes.

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