Task8_task1
✓ Published0🌍 Public
This visualization shows the population of countries in 2020 as horizontal bars, sorted from largest to smallest, with a linear x-axis scaled to the maximum population value and a band scale for country names. The chart is built with React and D3 v5, using `scaleBand`, `scaleLinear`, and `max` from the D3 API, and renders SVG rectangles for each bar. Population values are read from a CSV file, converted from strings to numbers, and formatted with `format('.2s')` to display values in billions. The data consists of the first 30 rows of the source dataset.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed