Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity6_q1

Public visualization

Viewing a saved revision (read-only)

286d6e231d8a4e1eb1737255b4e02276

activity6_q1

0 stars0🌍 Public
Mm.maanvireddt761@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This interactive bar chart uses a horizontal layout to display the population estimates of ten countries for 2010, sourced from a CSV file hosted online. The visualization, built with React and D3 v5, renders SVG rectangles whose lengths are proportional to each country's population value. The code employs D3's `scaleBand` for the categorical country axis and `scaleLinear` for the quantitative population axis, with formatted axis ticks and tooltips showing the abbreviated values.

AI-generated description

A demonstration of how to start using D3 version 6.