Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

bar chart

Public visualization

Viewing a saved revision (read-only)

0904c17518d14fcd9a6770da900a560e

bar chart

0 stars1🌍 Public
Ssainishanthreddyk@gmail.com
Last edited Oct 20, 2025
Created on Oct 20, 2025

This bar chart aggregates student records from a CSV file to display the average math score for each academic department. The visualization uses D3.js v7 with SVG rendering, grouping data via `d3.group` and computing means with `d3.mean`. Bars are positioned using a `scaleBand` for the categorical x-axis and a `scaleLinear` for the y-axis, with axes generated by `d3.axisBottom` and `d3.axisLeft`. Hovering over a bar changes its fill color from blue to orange.

AI-generated description