Skip to main content
100%

activity_8tutorial1

✓ Published1🌍 Public
Ssaitejauppu0206@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Activity 7

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 description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes