🌍 Public
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 descriptionMIT Licensed
Comments
Sign in to join the discussion.