Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
AAP19110020041-Pavan Kumar
Last edited Oct 25, 2024
Created on Oct 22, 2024

This chart displays the 2020 populations of 30 countries, ranked from largest to smallest by descending value. Each country is represented as a horizontal bar, with bar length proportional to population, and the x-axis labeled “POPULATION-2020” with tick labels formatted in billions. The visualization is built with React and rendered as an SVG using D3’s `scaleBand` and `scaleLinear` for axes, while `AxisBottom`, `AxisLeft`, and `Marks` components draw the gridlines and bars. Data is loaded asynchronously from a remote CSV via D3’s `csv` import.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes