Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
Ssumanthnaidu213@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Activity 7

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 description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes