🌍 Public
Viewing a saved revision (read-only)
698a36fc25834b6c86491b5077a8132e
Area Chart For the Restaurant Data
This area chart visualizes the annual profit of an Indian restaurant over time using an SVG rendered with D3 v5. The chart plots profit in millions against recorded year, with a smooth basis curve connecting data points and a filled area beneath the line. The visualization uses D3’s `scaleLinear`, `axisBottom`, `axisLeft`, `line`, and `area` functions to construct axes and paths, with profit data parsed from a CSV file loaded via `d3.csv`. Styling is applied through external CSS for axis labels and the chart’s fill color.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.