Skip to main content
100%

Activity 7

✓ Published0🌍 Public
Ssaikrishnabussa
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from Activity 7

This bar chart displays population figures for 20 countries in 2020, using horizontal bars sorted by country name. The visualization loads CSV data from a GitHub gist, parses the population values, and renders SVG rectangles scaled by a d3.scaleLinear x-axis with a d3.scaleBand y-axis. Custom React components for axes and marks handle ticks and tooltips, while formatting converts raw values to billions using d3.format.

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