Activity 7
✓ Published1🌍 Public
This interactive bar chart displays the population of 20 countries in 2020, sorted alphabetically along the vertical axis with population values on the horizontal axis. The visualization uses React components to render SVG elements, with D3 v5 functions like `scaleBand`, `scaleLinear`, and `format` handling the scales and number formatting. Data is loaded asynchronously from a CSV file hosted on GitHub, and hovering over a bar reveals a tooltip with the formatted population value. The chart includes labeled axes with blue tick marks and styled green bars.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed