Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity 6_Q1_2

Public visualization

Viewing a saved revision (read-only)

ed0264af7f1a4b22ac29ec7095d8ef2e

Fork of Activity 6_Q1_2

0 stars0🌍 Public
KKarnam Abinay Goud
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Activity 7

This visualization shows a horizontal bar chart comparing the 2010 population of twenty countries, sourced from a CSV file hosted on GitHub. It uses React with D3 v5’s `scaleBand` and `scaleLinear` to map country names and population values, rendering marks as SVG rectangles. Axes are customized via reusable components, and `d3.format` converts tick labels from billions to abbreviate them.

AI-generated description

A demonstration of how to start using D3 version 6.