Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6_Task 1.2

Public visualization

Viewing a saved revision (read-only)

54f5ed6cd5d94d469e05cee2cd245e66

activity 6_Task 1.2

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

This bar chart visualizes the top 20 countries by population for the year 2010, using a horizontal layout with countries on the y-axis and population on the x-axis. It uses React with D3 v5 scales (scaleBand, scaleLinear) to position SVG rectangles, with axis components rendering ticks and labels. Data loads from a CSV via d3.csv, and tooltips display formatted population values using d3.format.

AI-generated description

A demonstration of how to start using D3 version 6.

<iframe width="560" height="315" src="https://www.youtube.com/embed/Ia_DwVMXwgk"