🌍 Public
Viewing a saved revision (read-only)
a4a4766d2c7c407b93d6fd59ea5bd787
Fork of Student Scores Bar Chart
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