Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

7511a83deb88460187fe10ad4a0ee4ec

Fork of Hello VizHub

0 stars0🌍 Public
MMANEEDI NAGAKIRAN
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

This fork of Hello VizHub displays a horizontal bar chart of population figures for 20 countries in 2010. It uses React with D3 v5, employing `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and SVG `rect` elements for the bars. Data is loaded as CSV from a GitHub repository via `d3.csv`, with hover tooltips formatted using `d3.format`. The axes are custom React components, and the chart includes labeled tick lines and a population axis title.

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.