Skip to main content
100%

srinivas 1.2

✓ Published0🌍 Public
SSrinivasAbburi@my.unt.edu
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This example shows a horizontal bar chart comparing the 2010 population of 20 countries, with each bar labeled by country name on the left and population values formatted in billions along the bottom axis. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and `csv` to load data from a GitHub-hosted CSV file. The bars are rendered as SVG rectangles, with tooltips showing exact values and axis labels styled via CSS classes.

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