Skip to main content
100%

Activity 7 Task 1

✓ Published0🌍 Public
MmNamratha25
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

A horizontal bar chart displays 2020 population estimates for ten countries, with bars extending rightward from a shared origin. The visualization uses React to render SVG elements, while D3 v5 provides scaleBand for the categorical y-axis, scaleLinear for the quantitative x-axis, and tick formatting via d3.format. The chart loads CSV data from GitHub using d3.csv, and includes blue axis ticks, orange bars, and tooltips showing formatted 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