Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lokesh Question 1.2

Public visualization

Viewing a saved revision (read-only)

11014e3dbd9247f1ab05f2a87043d9be

Lokesh Question 1.2

0 stars0🌍 Public
Rrayavarapulokesh3@gmail.com
Last edited Oct 22, 2024
Created on Oct 20, 2024
Forked from Activity 7

This example shows a horizontal bar chart of the populations of 20 countries in 2010, with each bar labeled by country name and the x-axis formatted in billions. The visualization uses React components to render SVG rects for each bar, with axes generated from d3.scaleBand and d3.scaleLinear. Data is loaded asynchronously from a CSV file via d3.csv, and the bars include a native SVG <title> element for tooltips. The styling uses a green fill for bars and blue tick lines.

AI-generated description

Horizontal bar chart of 20 countries in 2010 using Activity6_Population.csv