Skip to main content
100%

Nikhil_ice7

✓ Published0🌍 Public
Kkottenikhil
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from ICE-7 Area Chart

This visualization displays the cost of sales from 2000 to 2013 using a time-series area chart rendered with SVG. The chart features a red filled area beneath a black smoothed line, with labeled axes for Year and Cost. Built with React and D3 v5, it uses `scaleTime`, `scaleLinear`, `line`, `area`, and `curveBasis` to generate the path, while `axisLeft` and `axisBottom` provide gridlines. Data is loaded as CSV from a GitHub gist, with years parsed into JavaScript `Date` objects and costs converted to numbers.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes