Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7

Public visualization

Viewing a saved revision (read-only)

bac7340bf52f42cba774db9ff2dae632

Activity 7

0 stars0🌍 Public
Ssrikkanth05
Last edited Jun 28, 2023
Created on Jun 28, 2023
Forked from Hello VizHub

This bar chart, created with React and D3 v5, visualizes the populations of ten countries in 2010, using a horizontal layout where each bar’s length corresponds to the population value. The visualization loads data from a remote CSV file via `d3.csv`, scales the values with `d3.scaleLinear` and `d3.scaleBand`, and renders axes and bars as SVG elements. The `AxisBottom`, `AxisLeft`, and `Marks` components format ticks with `d3.format`, display population labels, and include tooltips that show the formatted population value.

AI-generated description