🌍 Public
Viewing a saved revision (read-only)
0904c17518d14fcd9a6770da900a560e
bar chart
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