Skip to main content
100%

Activity 7 Task 1

✓ Published2🌍 Public
MMichael Biancardi
Last edited Jun 28, 2023
Created on Jun 28, 2023
Forked from Hello VizHub

This bar chart visualizes the population of 30 countries in 2020, with countries listed along the vertical axis and horizontal bars representing population values. The visualization uses React components to render SVG elements, with D3 v5 utilities such as `scaleBand` and `scaleLinear` for positioning, and `d3.csv` for loading data from a GitHub-hosted dataset. Custom reusable axis and mark components generate tick marks and rectangles with tooltips, while a formatted axis converts values from billions to abbreviations.

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.
MIT Licensed

Similar vizzes