Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_task1

Public visualization

Viewing a saved revision (read-only)

031184c8b16940dd946e98d0c24a8a2c

Activity6_task1

0 stars0🌍 Public
Mmasters200128@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Task-8

A horizontal bar chart displays the population of 20 countries from the year 2010, sorted by country name on the y-axis and population on the x-axis. Each bar includes a tooltip showing the formatted population value. The visualization is built with React and D3 v5, using `scaleBand` and `scaleLinear` for axes, with SVG `rect` elements for marks. Data is loaded via `d3.csv` from a remote GitHub gist, with population values converted to numbers and 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.