Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity

Public visualization

Viewing a saved revision (read-only)

5443fb7b469644de8de1cd2bc4c46ee4

Fork of Activity

0 stars0🌍 Public
Ssathvik0311@gmail.com
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from Activity 7

This visualization shows the 2010 population of 20 countries as a horizontal bar chart. The code loads data from a CSV file and renders bars as SVG rectangles using React, with axes built from D3 v5's `scaleBand` and `scaleLinear`. Tooltips display population values using D3's `format` function, and the chart applies margins and axis labels within a fixed 960x500 viewport.

AI-generated description

A demonstration of how to start using D3 version 6.