Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_question1

Public visualization

Viewing a saved revision (read-only)

57785f69cc9e4ea8a43a82259b70a069

Activity6_question1

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

A horizontal bar chart displays the population of the top ten countries in the year 2000, with bars extending from left to right. The visualization uses D3’s `scaleBand` for the y-axis to position each country and `scaleLinear` for the x-axis to map population values, with axis tick labels formatted using D3’s `format`. Data is loaded from a remote CSV file via `d3.csv`, and the chart is rendered as an SVG with React, with tooltips showing the formatted population for each bar.

AI-generated description

A demonstration of how to start using D3 version 6.