Skip to main content
100%

Activity 6_question 1.2

✓ Published0🌍 Public
RRishithaGarnepudi@my.unt.edu
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

A horizontal bar chart displays the 2010 populations of twenty countries, sorted by country name, using green bars on a white SVG canvas. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Population data is loaded from a remote CSV file via `d3.csv`, with tick labels formatted using `d3.format` to abbreviate billions. Axis lines are styled blue, and the chart includes a labeled x-axis and tooltips showing the abbreviated population value for each bar.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes