Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_task1_question1

Public visualization

Viewing a saved revision (read-only)

d76d3dd3c422448faa0f1839983fa568

Activity 6_task1_question1

0 stars1🌍 Public
Cchandrikachowdary867@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This chart displays the populations of the ten most populous countries in the year 2000, using horizontal bars ranked by country name. The visualization leverages React with D3 v5 utilities, including `scaleBand` and `scaleLinear`, to render an SVG graphic with a bottom axis formatted to display values in billions. Code components such as `AxisBottom`, `AxisLeft`, and `Marks` generate the axes and rectangular bars, while tooltips on each mark show the precise population values. Data is loaded from a remote CSV file using D3's `csv` function.

AI-generated description

A demonstration of how to start using D3 version 6.