Skip to main content
100%

Fork of bar chart

✓ Published2🌍 Public
Ssainishanthreddyk@gmail.com
Last edited Oct 20, 2025
Created on Oct 20, 2025
Forked from 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
MIT Licensed

Similar vizzes