Skip to main content
100%

bar chart

✓ Published1🌍 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
MIT Licensed

Similar vizzes