Skip to main content
100%

Fork of Student Scores Bar Chart

✓ Published0🌍 Public
Pprudhvi
Last edited Apr 10, 2023
Created on Apr 10, 2023

This bar chart displays student test scores from a CSV file, ranking each student along the y-axis with a score from 0 to 100 on the x-axis. The purple bars are rendered as SVG rectangles within a fixed 960 by 450 pixel canvas, using D3 v5’s `scaleLinear` and `scaleBand` to map data to coordinates. The chart includes axes generated by `axisLeft` and `axisBottom`, with a hover effect that reduces bar opacity. The student data is loaded asynchronously from `data.csv`.

AI-generated description
MIT Licensed

Similar vizzes