Skip to main content
100%

Fork of Activity7_Task1_2

✓ Published0🌍 Public
AArungopal Andalam
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Activity7_Task1

This visualization shows the 2010 population of 20 countries as a horizontal bar chart, with the data sorted by country name. The chart uses React components to render SVG elements, including custom `AxisBottom`, `AxisLeft`, and `Marks` components that call D3 scale functions like `scaleBand` and `scaleLinear`. Population values are loaded via `d3.csv` from a remote GitHub URL and formatted with `d3.format` to abbreviate large numbers (e.g., converting gigabytes to billions). The bars include a native SVG tooltip showing the formatted population value.

AI-generated description
MIT Licensed

Similar vizzes