Nikhil_ice7
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed