Skip to main content
100%

Fork of Student Scores Bar Chart 2

✓ Published0🌍 Public
Pprudhvi
Last edited Apr 10, 2023
Created on Apr 10, 2023

This bar chart displays student scores from a CSV file, using a horizontal layout with student names on the y-axis and score values from 0 to 100 on the x-axis. The visualization uses d3.csv to load the data, d3.scaleBand for the categorical axis, d3.scaleLinear for the numeric scale, and d3.axisLeft and d3.axisBottom to render the axes. Each rectangle’s width is proportional to the score, with a purple fill and hover effect that reduces opacity. The chart is rendered as SVG within a 960×450 pixel viewport, with margins applied to position the plot area.

AI-generated description
MIT Licensed

Similar vizzes