Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Question1-2

Public visualization

Viewing a saved revision (read-only)

71bcc88b1dd74c1b86c95080344c1af2

Activity 6_Question1-2

0 stars0🌍 Public
Ssowmyaammula.sdv@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This bar chart visualizes the population of 20 countries in 2010, sorted by country name. Each bar’s length corresponds to population, with hover tooltips showing formatted values in billions. The visualization is built with React and D3 v5, using `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and custom `AxisBottom`, `AxisLeft`, and `Marks` components to render SVG rectangles and tick marks. Data is loaded from a CSV file via `d3.csv`.

AI-generated description

A demonstration of how to start using D3 version 6.