Final Project: Mini Chart 3: Bar Chart Freq of Nationality
✓ Published0🌍 Public
This bar chart displays the frequency of nationalities among defensive asylum cases, with nationality on the y-axis and case count on the x-axis. The chart uses React with D3.js v6, employing `scaleBand` and `scaleLinear` for the axes and SVG `<rect>` elements for the bars. Data is aggregated from a CSV file using D3's `nest()` and `rollup()` functions, sourced from the United Nations World Population Prospects 2019. Tooltips reveal the exact count for each bar on hover.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed