Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

sekhar que1.1

Public visualization

Viewing a saved revision (read-only)

2e56677775ea4b80b680625ebdced8f3

sekhar que1.1

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

This example shows a horizontal bar chart of population figures for ten countries in the year 2000, with country names on the y-axis and formatted population values (in billions) on the x-axis. The chart uses React components to render SVG elements, with d3.scaleBand and d3.scaleLinear for positioning, and d3.csv loads the data from a GitHub-hosted CSV file. Bars are colored light green, axis ticks are styled blue, and tooltips appear on hover via SVG title elements.

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.