Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6 Task1

Public visualization

Viewing a saved revision (read-only)

7b1c9ac9c919437c9d44091b6b519fe4

Activity-6 Task1

0 stars0🌍 Public
Hharshaps15@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This bar chart displays the 2020 population estimates for 30 countries, ordered by country name along the vertical axis and population magnitude along the horizontal axis. Built with React and D3 v5, the visualization uses SVG rectangles for the bars and custom axes. The `csv()` function loads the data, while `scaleBand()` and `scaleLinear()` map the categorical and continuous values. Hovering over a bar reveals a tooltip with the population formatted in billions via D3's `format()`.

AI-generated description

A demonstration of how to start using D3 version 6.