Activity6_tutorial1
✓ Published0🌍 Public
This bar chart displays the 2020 population of 30 countries, sorted alphabetically, using horizontal bars encoded by population size. It is built with React and D3 v5, using `scaleLinear` and `scaleBand` to map population values to bar widths and countries to row positions. Axes, tick labels, and rectangles are rendered as SVG elements, with a native SVG `<title>` element providing tooltips. Population data is loaded from a CSV file hosted on GitHub, with values formatted using D3's `format` function.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed