Refactored Fork of Bar chart UN data
✓ Published1🌍 Public
This example displays a horizontal bar chart of United Nations population data for the top 10 countries. It uses React with D3 v5's `scaleBand` and `scaleLinear` to map country names and population values to SVG rectangles. The chart is rendered directly as SVG elements, with axes built from D3's tick marks, and it loads its dataset from a CSV file using D3's `csv` function. The visualization maintains a fixed layout.
AI-generated descriptionFollow the mouse and resize.
MIT Licensed