Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7

Public visualization

Viewing a saved revision (read-only)

ee8c9e090b1446a78079ceafeeb2daa4

Activity 7

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

This example shows a horizontal bar chart of the top 10 countries by 2010 population. It uses React to render SVG elements and D3 v5 scales and axes for layout, with data loaded from a CSV file via d3.csv. The chart includes blue tick lines, green bars, and a formatted population axis label. Tooltips display the population values using D3’s format function with SI-prefix notation.

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.