Skip to main content
100%

Fork of Line Chart For The Restaurant Data

✓ Published0🌍 Public
Mmounishnaidu96@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

This fork of a line chart visualizes cotton production and calorie data from a restaurant dataset, plotting profit in millions against year. The chart uses an SVG rendering approach with D3.js v7, employing `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis. It draws a green line via `d3.line()` and adds interactive circles with hover tooltips using D3’s `join` pattern and `title` elements. The data is loaded from a CSV file hosted on GitHub, with Poppins fonts and a teal background styled via CSS.

AI-generated description

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

MIT Licensed

Similar vizzes