Skip to main content
100%

Act6_Q1.2

✓ Published0🌍 Public
Ggalijawaharnath@gmail.com
Last edited Oct 23, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

A horizontal bar chart displays the populations of 20 countries for the year 2010, sorted vertically by country name. The visualization uses React with D3 v5, loading CSV data from a GitHub repository via d3.csv and rendering SVG bars. The chart employs scaleBand for the categorical y-axis and scaleLinear for the numeric x-axis, with population values formatted using d3.format and native SVG <title> elements providing tooltips.

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