🌍 Public
Viewing a saved revision (read-only)
b555f9ce22e745d78381ea111e0b0e8c
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