Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8-Task1

Public visualization

Viewing a saved revision (read-only)

89fc31e9225545318a912cd5656c8b2a

Activity8-Task1

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

This horizontal bar chart displays the population of the top 20 countries in 2010, using green bars sorted by country name. Built with React and rendered as SVG, the visualization leverages D3 v5 functions including `scaleBand` and `scaleLinear` for axes, with CSV data loaded via `d3.csv`. Tooltips formatted with `d3.format` show abbreviated population values on hover, while custom Axis components handle tick rendering.

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.