Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6_Task 1 Q1.1

Public visualization

Viewing a saved revision (read-only)

64b1d2b546fd4a4cb6e19693a818998e

activity 6_Task 1 Q1.1

0 stars1🌍 Public
Mmoulidomar@hotmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This bar chart displays the population of ten countries in the year 2000, with a green horizontal bar for each country, ordered from largest to smallest population. The visualization uses React to render SVG elements via d3.scaleBand and d3.scaleLinear, and reads CSV data from a GitHub repository. Population values are formatted using d3.format with SI notation. A native SVG `<title>` element provides a tooltip showing the exact population value for each bar.

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.