Skip to main content
100%

Fork of United Nations Bar Chart with SVG

✓ Published0🌍 Public
Jjuanmy400
Last edited Feb 24, 2022
Created on Feb 24, 2022

This bar chart visualizes the top 10 most populous countries in 2019 using UN population data. Built with React and D3 v7, the example loads CSV data via `d3.csv` and renders horizontal bars with SVG, including country flags displayed at the end of each bar using `<image>` elements. The chart uses `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with gridlines and tick labels generated from the scales.

AI-generated description
MIT Licensed

Similar vizzes