Skip to main content
100%

Fork of React & D3 Starter

✓ Published0🌍 Public
Rrevanthdasari10@gmail.com
Last edited Mar 7, 2026
Created on Mar 7, 2026
Forked from React & D3 Starter

A multi-line chart displays coffee shop performance over 150 days, tracking sales, profit, and customer counts as three colored paths (red, blue, green) against shared day and value axes. The example loads data from a CSV file using d3.csv, converts values to numbers, and renders the lines with d3.line, scaling positions with d3.scaleLinear and adding d3.axisBottom and d3.axisLeft. The visualization is built within a React component using refs and the d3-selection library, outputting to SVG.

AI-generated description
MIT Licensed

Similar vizzes