Skip to main content
100%

Task8_Question1.1

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

This horizontal bar chart displays the 2000 populations of the top ten countries, ranked from largest to smallest. Built with React and D3 v5, the visualization uses D3's `scaleBand` and `scaleLinear` to map country names and population values to screen coordinates. The SVG rendering includes interactive tooltips that show formatted population figures when hovering over each bar. Data is loaded from a remote CSV file using D3's `csv` function, and axes are created with custom components for both bottom and left sides.

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