Skip to main content
100%

Fork of bar chart

✓ Published0🌍 Public
Ssainishanthreddyk@gmail.com
Last edited Oct 20, 2025
Created on Oct 20, 2025
Forked from bar chart

A D3.js bar chart displays the average math scores for students grouped by academic department, using data from a CSV file containing individual student records. The chart aggregates the scores per department and visualizes them as blue bars that change to orange on hover. The implementation uses `d3.group` and `d3.mean` to compute averages, with `d3.scaleBand` for the category axis and `d3.scaleLinear` for the score axis. The SVG rendering includes rotated x-axis labels and clearly labeled axes for the department and average math score.

AI-generated description
MIT Licensed

Similar vizzes