Skip to main content
100%

Activity6_Question1.2

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

A horizontal bar chart displays the 2010 population of twenty countries, ordered by country name, using green bars on an SVG canvas. The chart is built with React and D3 v5, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Axis components are modular ES6 files, with bottom ticks formatted using `format`. Data is loaded asynchronously via `csv` from a GitHub-hosted dataset, and interactive tooltips show population values on hover.

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