Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of 2000_Population_20_Countries_Data_for_2000_Poorna

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Fork of 2000_Population_20_Countries_Data_for_2000_Poorna

0
Ppoornachander510@gmail.com
Last edited Oct 25, 2024
Created on Oct 25, 2024

This bar chart visualizes the 2010 population estimates for 20 countries, using horizontal bars sorted by country name. The visualization loads CSV data from a GitHub repository, processes the population column by multiplying values by 1000, and renders an SVG through React. It employs D3 v5 scales (`scaleBand` and `scaleLinear`) for positioning, along with custom `AxisBottom`, `AxisLeft`, and `Marks` components. Tick formatting converts values to abbreviated strings like “1.2B”, and the chart includes a labeled x-axis for population.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed