Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_task1

Public visualization

Viewing a saved revision (read-only)

640c82bd62034baab3041e1abc5f3767

Activity 6_task1

0 stars0🌍 Public
Bbhavanadupati3@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

A horizontal bar chart displays the 2020 populations of 30 countries, sorted along a linear scale. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and SVG `rect` elements for bars. Data is loaded via `d3.csv` from a GitHub-hosted CSV, with population values formatted using `d3.format`.

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.