Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question 1

Public visualization

Viewing a saved revision (read-only)

891de9a845fd4dbe96d7d294b088d39a

Question 1

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

This example shows the populations of ten countries in the year 2000 as a horizontal bar chart, with country names on the y-axis and population values on the x-axis formatted in billions. Built with React and D3 v5, it uses `d3.scaleBand` and `d3.scaleLinear` to position rectangular marks, and renders axes via custom SVG components. Data is loaded asynchronously from a CSV file using `d3.csv` and truncated to the first ten rows.

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.