Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6.2

Public visualization

Activity 6.2

0 stars0🌍 Public
MMdAfikurRahmanKhan@my.unt.edu
Last edited Nov 16, 2025
Created on Nov 16, 2025
Forked from Activity 6

This is a horizontal bar chart displaying the populations of twenty countries in 2010, sorted by country name. The chart uses React components to render SVG elements, with D3 scales (`scaleBand`, `scaleLinear`) and formatting via `d3.format`. Data is loaded asynchronously from a CSV using `d3.csv`, and each bar includes a tooltip showing the population value. The code defines custom `AxisBottom`, `AxisLeft`, and `Marks` components to construct the visualization.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed