Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task1_Q1.2

Public visualization

Viewing a saved revision (read-only)

2a18b003445b4344bfb903946b058c96

Activity6_Task1_Q1.2

0 stars0🌍 Public
Vvenkatamanikantavaddi@my.unt.edu
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This interactive bar chart visualizes the population of 20 countries for the year 2010. Each horizontal bar's length is proportional to population, with countries listed on the y-axis and population values on the x-axis, formatted in billions (e.g., "1.2B"). The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the population x-axis. Data is loaded from a remote CSV file using D3's `csv` function, and the chart is rendered as an SVG with tooltips showing exact values.

AI-generated description

A demonstration of how to start using D3 version 6.