Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of bar chart

Public visualization

Viewing a saved revision (read-only)

fe6b218b5c9a40bb8331c417f3bc2e9a

Fork of bar chart

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

This bar chart displays the average math scores for students grouped by department, computed from a CSV file using D3's `d3.csv` and `d3.group` methods. The visualization uses `d3.scaleBand` for the categorical x-axis and `d3.scaleLinear` for the continuous y-axis, rendering bars as SVG rectangles with a hover effect that changes their fill color. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, and labels are added to clarify the department and score metrics.

AI-generated description