🌍 Public
Viewing a saved revision (read-only)
7c3473f83fad442a92256fca83c29e2c
Line Chart For The Restaurant Data
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 descriptionThe above line chart is created by using html,css,d3.js for the restaurant data.