Skip to main content
100%

Fork of Line Chart For The Restaurant Data

✓ Published0🌍 Public
NNandini Maddula
Last edited Mar 27, 2024
Created on Mar 27, 2024

This line chart displays restaurant revenue by year, with blue circular points and a blue connecting line, drawn in an SVG canvas. The chart uses D3.js v7’s `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.line` to generate the path, while circles are appended via `selectAll` and `.join`. Data is loaded asynchronously from a CSV via `d3.csv`.

AI-generated description

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

MIT Licensed

Similar vizzes