Skip to main content
100%

Activity6_Task 1

✓ Published0🌍 Public
UUday Vandanapu
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Activity 7

This bar chart displays the top 30 countries by 2020 population, ranked along a vertical band scale. The visualization uses D3 v5 for data loading and scale creation, with React components rendering SVG rectangles for each bar. The code applies `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, formatting tick labels with `d3.format`. Data is fetched as CSV from a GitHub repository, with values multiplied by 1000 to represent actual population figures.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes