Area Chart Activity 8
✓ Published1🌍 Public
This area chart displays the cost of sales from 2000 to 2013 using a smooth, basis-curved line and a light green filled region beneath it. The visualization uses D3 v5 to load CSV data from a GitHub repository, parse year strings into Date objects, and render axes with red tick labels and orange axis labels. The chart employs `scaleTime`, `scaleLinear`, `axisLeft`, `axisBottom`, `line`, `area`, and `curveBasis` to generate the SVG output, with a formatted y-axis tick scale using `format`.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed