🌍 Public
activity 6_Task 1
This horizontal bar chart displays the population of 30 countries in 2020, sorted by country name along the y-axis and scaled proportionally along the x-axis. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map the data, with axes rendered by custom `AxisBottom` and `AxisLeft` components. The visualization reads CSV data from a GitHub repository, formats population values in billions using D3's `format`, and renders marks as SVG rectangles with tooltips.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed
Comments
Sign in to join the discussion.