Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task8Question1_2

Public visualization

Viewing a saved revision (read-only)

cbd884bf4f0a4a52a512537e25fe155a

Task8Question1_2

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

A horizontal bar chart displays the populations of the top 20 countries in 2010, with country names on the y-axis and population values on the x-axis, using a green fill for each bar. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for axes, and renders SVG via `Marks`, `AxisBottom`, and `AxisLeft` components. Data loads from a remote CSV, formats values with D3’s `format`, and features tooltips showing the tick-formatted population on hover.

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.