Skip to main content
100%

Activity6-task1

✓ Published1🌍 Public
Ssushanthkodipyaka@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example displays a horizontal bar chart ranking populations of 30 countries in 2020, using green bars with a blue axis grid. The visualization is built with React and rendered as SVG, using D3 v5 scales (`scaleBand`, `scaleLinear`) and `format` for tick labels. Data is loaded via `csv` from a GitHub-hosted CSV file. The chart includes a bottom axis, left category labels, and a "POPULATION-2020" title, with hover tooltips showing formatted values.

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