🌍 Public
Viewing a saved revision (read-only)
b49bdc226a9b46cfbcc7184af8ccc421
Project 1 - Nobel Prize Winners - Bar Chart
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