Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity6_1.2

Public visualization

Viewing a saved revision (read-only)

b0682e86d079406ab6fc0e433760d1be

activity6_1.2

0 stars0🌍 Public
Bbhavyamoturi2509@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

A horizontal bar chart displays the 2010 population estimates for twenty countries, sourced from a CSV file. Built with React and D3 v5, it uses `scaleBand` for the categorical country axis and `scaleLinear` for the population axis, rendering green SVG rectangles with tooltips formatted in billions. The chart includes styled axes, a loading state, and a population label, with the D3 `csv` loader fetching and preprocessing the data.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.