Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7

Public visualization

Viewing a saved revision (read-only)

291d71b5fb324dcbb3e9a58338ec6c6d

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