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 example visualizes student exam scores as a horizontal bar chart, with each bar’s length proportional to the score from a CSV file. The chart uses D3 v5’s `scaleLinear` and `scaleBand` to map scores and student names, with axes generated by `axisLeft` and `axisBottom`. Data is loaded via `csv()`, and bars are appended as SVG rectangles, colored purple and dimming on hover through CSS.

AI-generated description
MIT Licensed

Similar vizzes