Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
YYamini Malikireddy
Last edited Mar 8, 2026
Created on Mar 8, 2026
Forked from HTML Starter

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 description

Student Scores Visualization

A D3.js bar chart displaying student test scores.

Requirements

  • D3.js v7
  • CSV file named student_scores.csv with columns: Student and Score

Usage

Open index.html in a web browser to view the chart.

MIT Licensed

Similar vizzes