Skip to main content
100%

Nagalakshmi

✓ Published0🌍 Public
NNagalakshmi Thota
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

A horizontal bar chart displays the population of ten countries in the year 2000, with countries listed on the y-axis and population values on the x-axis. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map data, rendering SVG rectangles for bars. The chart fetches data from a GitHub CSV and formats axis ticks using D3's `format` function. Tooltips on each bar show the exact population value.

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