Skip to main content
100%

Project 1 - Nobel Prize Winners - Bar Chart

✓ Published5🌍 Public
VVinayak Revankar
Last edited Oct 2, 2025
Created on Sep 24, 2025

This example displays the number of Nobel Prizes awarded in each category as a bar chart, with bars ordered from most to least frequent. It loads data from a CSV file via `fetch` and parses it using `d3.csvParse`, then renders the chart with `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft`. The bars are drawn as SVG rectangles with a hover effect, and the chart includes labeled axes and a title.

AI-generated description
MIT Licensed

Similar vizzes