Skip to main content
100%

Fork of Fork of Fork of React & D3 Starter

✓ Published0🌍 Public
Ppavanireddy03sai@gmail.com
Last edited Mar 30, 2026
Created on Mar 30, 2026

A single-page visualization renders a small area chart of annual sales data from 2018 to 2021 using React and D3 v7. The SVG displays light-blue filled regions beneath a line, with linear scales mapping years to the x-axis and sales to the y-axis, plus bottom and left axes. The D3 code uses `d3.area`, `d3.scaleLinear`, and `d3.axisBottom`/`d3.axisLeft` within a React component that references a DOM node via `useRef`. A separate `index.jsx` demonstrates React and D3 integration with a simple text update.

AI-generated description
MIT Licensed

Similar vizzes