Skip to main content
100%

Activity 7

✓ Published0🌍 Public
UUVarshaReddy
Last edited Jul 9, 2023
Created on Jul 9, 2023
Forked from Activity 7

This bar chart displays population figures for 30 countries in 2020, with countries listed on the vertical axis and population values on the horizontal axis. The visualization uses D3 v5 scales and React components to render SVG rectangles, with blue tick lines and green bars on a clean background. Data loads from a remote CSV file, and population values are converted from thousands using a custom row parsing function. The chart includes formatted axis labels using D3's format utility, converting values like "1.2B" 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.
MIT Licensed

Similar vizzes