Skip to main content
100%

Activity-8_Question - 1.2

✓ Published0🌍 Public
Ttharunramula@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

A horizontal bar chart displays the 2010 population for 20 countries, sourced from a CSV file accessed via a GitHub URL. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map countries and population values, rendering SVG rectangles for each bar. Axis components generate tick marks and labels, while a D3 `format` function abbreviates large numbers in 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