Skip to main content
100%

Activity 6_Tutorial Task 1_Harini

✓ Published1🌍 Public
Kkamarthyharini24@gmail.com
Last edited Apr 1, 2024
Created on Apr 1, 2024
Forked from Hello VizHub

This horizontal bar chart displays the populations of 30 countries in 2020, ranked with the largest population at the top. The visualization pairs React with D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Population values from the CSV source are formatted in billions using D3's `format('.2s')`. The SVG marks are simple rectangles, with blue axis ticks and lines styled through CSS, and x-axis labels translated from gigabytes notation to billions.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes