Question 1.2
✓ Published0🌍 Public
This visualization displays the populations of the top 20 countries in 2010 as a horizontal bar chart, using a linear x-scale for population values and a banded y-scale for country names. The chart loads CSV data from a GitHub repository and renders bars as SVG rectangles with native tooltips. Built with React and D3 v5, it uses `scaleLinear`, `scaleBand`, `csv`, and `format` to process data, compute scales, and format tick labels. The axes are custom React components that generate `line` and `text` SVG elements.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed