Skip to main content
100%

Line Chart For The Restaurant Data

✓ Published8🌍 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

The above line chart is created by using html,css,d3.js for the restaurant data.

MIT Licensed

Similar vizzes