Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart For The Restaurant Data

Public visualization

Viewing a saved revision (read-only)

e4714e79cd474c7bbfd51aad0945e3b5

Line Chart For The Restaurant Data

1 star8🌍 Public
Kkoteswararao614@gmail.com
Last edited Mar 27, 2024
Created on Mar 25, 2024
Forked from HTML Starter

This line chart visualizes restaurant profit trends from 1985 to 2024, with each data point representing annual profit in millions. The chart plots these values using green circular markers connected by a green line, with hover effects changing marker color to orange for interactive feedback. The visualization uses D3.js v7 to load data from a CSV file, applying `d3.scaleBand` for the x-axis years, `d3.scaleLinear` for the y-axis profit scale, and `d3.line` to generate the path. The SVG rendering is styled with the Poppins font on a teal background.

AI-generated description

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

See also React Starter.