Skip to main content
100%

Fork of Activity-6_Task-1 dummy

✓ Published0🌍 Public
Sshravan.s0710@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Activity-6_Task-1

This bar chart displays the 2020 population estimates for 30 countries, sourced from a GitHub-hosted CSV file. It uses React to render SVG elements, with D3 v5 functions like `scaleBand` and `scaleLinear` to position bars and axes. The bars are colored green, and each includes a native SVG `<title>` tooltip showing the formatted population value. Custom axis components handle the bottom and left tick marks, with population labels abbreviated using D3’s `format` API.

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