Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Activity 6

Public visualization

Viewing a saved revision (read-only)

069dcc56d84e4f2894a68990809a2e85

Fork of Fork of Activity 6

0 stars0🌍 Public
NNithish Karanam
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Fork of Activity 6

This is a horizontal bar chart displaying the 2020 populations of 30 countries, rendered as SVG rectangles. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map country names and population values to coordinates, with `csv` fetching the data from a GitHub gist. Green bars are overlaid with a tooltip showing the formatted population value, and the chart includes styled axes with blue tick lines and a labeled x-axis.

AI-generated description

A demonstration of how to start using D3 version 6.