Skip to main content
100%

Bar Graph using D3.js

✓ Published0🌍 Public
SSamanvitha1
Last edited Jun 26, 2022
Created on Jun 26, 2022
Forked from HTML Starter

This bar graph displays the final exam marks of students, with each student’s name on the x-axis and their corresponding marks on the y-axis. The visualization loads data from a CSV file using `d3.csv`, then uses `d3.scaleBand` and `d3.scaleLinear` to map the data to SVG rectangles. Axes are rendered with `d3.axisBottom` and `d3.axisLeft`, and the chart is annotated with a title and axis labels. The code employs D3 v7 in a plain HTML page with an SVG container.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes