Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Task-7

Public visualization

Fork of Fork of Fork of Task-7

0 stars1🌍 Public
JJames Cruz
Last edited Apr 15, 2024
Created on Apr 15, 2024

A horizontal bar chart displays the populations of 30 countries for 2020, sorted by country name. The visualization uses D3 v5 scales and SVG rendering within a React application, with `d3.csv` loading the dataset from a GitHub repository. Population values are transformed from the raw data, and d3's `format` function converts large numbers into abbreviated labels like “B” for billions.

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.

Comments

Sign in to join the discussion.

MIT Licensed