Skip to main content
100%

Activity6_Population-1

✓ Published1🌍 Public
SSreeKohaliPatel@my.unt.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Activity 7

This horizontal bar chart displays the population of ten countries in the year 2000, sorted by country name on the y-axis and scaled linearly on the x-axis. The visualization uses React with D3 v5 to render SVG rectangles, employing `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and `AxisBottom`/`AxisLeft` components for tick marks. Data is loaded asynchronously from a CSV file via `d3.csv` and formatted with `d3.format` to abbreviate large values (e.g., billions).

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes