Fork of HTML Starter
✓ Published0🌍 Public
This bar chart visualizes student test scores from a CSV file, with each student’s name on the x-axis and their numeric score on the y-axis ranging from 0 to 100. The visualization uses D3.js v7’s `d3.scaleBand` and `d3.scaleLinear` to map data to SVG rectangles filled with steel blue, while `d3.axisBottom` and `d3.axisLeft` render the axes. The code loads the data asynchronously via `d3.csv` and renders the chart entirely in SVG within a styled container.
AI-generated descriptionStudent Scores Visualization
A D3.js bar chart displaying student test scores.
Requirements
- D3.js v7
- CSV file named
student_scores.csvwith columns:StudentandScore
Usage
Open index.html in a web browser to view the chart.
MIT Licensed