Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of bar chart

Public visualization

Viewing a saved revision (read-only)

4ab2b40e1fe1494ca0bd45a3e8f7d5f1

Fork of bar chart

0 stars0🌍 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