Skip to main content
100%

Line chart - Mahesh - ICE7

✓ Published0🌍 Public
Ppmbhupathibalu@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from Line Chart

This line chart visualizes revenue trends for five selected states—California, New York, Texas, Florida, and Illinois—from 2020 to 2023. It uses D3.js v7 to load comma-separated text data, parse it, and render an SVG with a multi-line chart. The code applies `d3.scaleLinear` for axes, `d3.line` with `d3.curveLinear` for path generation, and `d3.scaleOrdinal` with `schemeCategory10` for colors. Axes are drawn using `d3.axisBottom` and `d3.axisLeft`, with a legend and title included.

AI-generated description
MIT Licensed

Similar vizzes