🌍 Public
Viewing a saved revision (read-only)
06ce0bb3011044f4a6b7c5e94fd76e71
Fork of bar chart
This visualization shows the average math scores of students grouped by their academic department, using a simple bar chart to compare performance across Computer Science, Mathematics, Physics, Chemistry, and Biology. The chart is built with D3 v7 and rendered as SVG, loading student data from a CSV file and aggregating it with d3.group and d3.mean. The visualization uses d3.scaleBand for the categorical x-axis and d3.scaleLinear for the continuous y-axis, with bars styled in steelblue that turn orange on hover. Rotated x-axis labels and axis labels generated with d3.axisBottom and d3.axisLeft make the departments readable.
AI-generated description