activity_8tutorial1
✓ Published1🌍 Public
A horizontal bar chart displays the 2020 population of up to 30 countries, sorted alphabetically by country name. Each bar's length is scaled linearly from zero to the maximum population, with hover tooltips showing the population in billions. Built with React and D3 v5, the chart uses `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and `format('.2s')` for tick labels. Data is loaded asynchronously from a remote CSV file using `d3.csv`. The SVG rendering includes styled axis ticks and labels.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed