Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q1.2

Public visualization

Viewing a saved revision (read-only)

c5479e1afe224149b3864afa368059c2

Q1.2

0 stars0🌍 Public
AAbdul Kareem
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example presents a horizontal bar chart of population data for 20 countries from 2010. The chart uses green bars, with the country names on the y-axis and population figures on the x-axis, formatted in billions. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` for scaling, and `csv` to fetch data from a remote GitHub source. SVG rendering displays the axes and marks.

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.