Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

act_6_2010

Public visualization

act_6_2010

0 stars0🌍 Public
Hhlmn4936@gmail.com
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Activity 7

This bar chart visualizes the top 20 countries by population in 2010. It uses a horizontal layout, with country names on the y-axis and population on the x-axis, formatted in billions. The visualization is built with React and D3 v5, employing `scaleBand` and `scaleLinear` for axes, and SVG rectangles for the bars. Data is loaded asynchronously from a CSV file using D3's `csv` function, and a tooltip displays the exact population value for each bar.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed