Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart For the Restaurant Data

Public visualization

Viewing a saved revision (read-only)

698a36fc25834b6c86491b5077a8132e

Area Chart For the Restaurant Data

0 stars0🌍 Public
Bbhavana.bayyapu@gmail.com
Last edited Mar 25, 2024
Created on Mar 25, 2024
Forked from HTML Starter

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 description

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

See also React Starter.