Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Project 1 - Nobel Prize Winners - Bar Chart

Public visualization

Project 1 - Nobel Prize Winners - Bar Chart

0 stars5🌍 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

Comments

Sign in to join the discussion.

MIT Licensed