Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question 1

Public visualization

Viewing a saved revision (read-only)

e296c98199014c6c9ea1558ae946b3e7

Question 1

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

This chart displays the populations of ten countries in the year 2000, sorted vertically with horizontal bars whose lengths represent population values. The visualization uses React to render SVG elements, with D3 scales and format utilities, specifically `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Data is loaded from a CSV source and processed before display. Axis labels and tick marks are generated via custom React components, with population values formatted in billions using the `format('.2s')` API.

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.