Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task8Question1

Public visualization

Viewing a saved revision (read-only)

0f9a835247c849a8b90b301db5e6ebaa

Task8Question1

0 stars0🌍 Public
Mmanohar varma
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This example presents a horizontal bar chart of population data for the top 10 countries in the year 2000, sourced from a CSV file loaded via `d3.csv`. The visualization uses React with D3 v5, rendering SVG bars through the `scaleBand` and `scaleLinear` scales, with axes generated by custom `AxisBottom` and `AxisLeft` components. Population values are formatted with `d3.format` and hover tooltips are provided 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.