Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task1

Public visualization

Viewing a saved revision (read-only)

a65505404de8416590382a6bf6c1441a

Activity6_Task1

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

This horizontal bar chart displays the 2020 populations of the top 30 countries from a GitHub-hosted CSV dataset. React components render SVG rectangles whose widths are scaled by d3.scaleLinear, while d3.scaleBand positions each country on the y-axis. The code uses d3.csv for data loading, d3.format for tick labels, and the AxisBottom and AxisLeft components to draw the chart’s axes.

AI-generated description

A demonstration of how to start using D3 version 6.