Skip to main content
100%

Fork of Line Chart For The Restaurant Data

✓ Published1🌍 Public
Rrobertotienonyaranga@gmail.com
Last edited Mar 27, 2024
Created on Mar 27, 2024

A line chart shows a restaurant’s profit in millions across recorded years, with green circular points marking each annual value and a green line connecting them. The chart uses D3.js version 7, employing `d3.scaleBand` for the x-axis years, `d3.scaleLinear` for the y-axis (fixed from 0 to 150), and `d3.line` to generate the path. Profit data is loaded from a remote CSV file via `d3.csv`, and hover interactions turn points orange. The visualization is rendered as SVG within a teal-styled page using the Poppins font.

AI-generated description

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

MIT Licensed

Similar vizzes