Skip to main content
100%

Activity 7

✓ Published0🌍 Public
Ssaikrishnabussa
Last edited Jul 19, 2023
Created on Jul 19, 2023
Forked from Hello VizHub

This bar chart displays the 2020 population for 20 countries, with horizontal green bars sorted by country name. Built with React and D3 v5, it uses `d3.scaleBand` and `d3.scaleLinear` for axes, and formats tick labels with `d3.format`. Data is loaded from a remote CSV via `d3.csv`, and SVG rectangles render each mark with a tooltip.

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