Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6

Public visualization

Viewing a saved revision (read-only)

fca4d6e182c6487a82e2d4b30df470ce

Activity 6

0 stars0🌍 Public
Ssathvikavancha@my.unt.edu
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

This bar chart displays the population figures for 30 countries in 2020, with countries listed on the vertical axis and population on the horizontal axis. The visualization uses React to render SVG elements, with D3 v5 functions such as `scaleBand` and `scaleLinear` for scaling, and `csv` for loading data from a GitHub-hosted CSV file. Tooltips reveal precise values formatted using D3's `format` function, and the chart includes custom axis components.

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.