Skip to main content
100%

Fork of React & D3 Starter

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

This example displays average scores in Math, English, and Science as rounded, pastel-colored bars, calculated from a 100-student CSV dataset. It uses D3 v7 to load and aggregate the data with `d3.csv` and `d3.mean`. The visualization is built with D3 scales (`d3.scaleBand`, `d3.scaleLinear`) and axes, while SVG elements render the bars, value labels, title, and axis labels. The page layout is styled directly via D3 selections on the body element.

AI-generated description
MIT Licensed

Similar vizzes