Skip to main content
100%

Question 1.2

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

This example displays a horizontal bar chart of population data for twenty countries in 2010. The visualization uses React with SVG rendering, while D3’s scaleBand and scaleLinear handle the categorical and linear axes, respectively. The code loads CSV data from a GitHub repository using d3.csv, applies a custom SI format to abbreviate population values, and includes tooltips via SVG title elements. Blue tick lines and green bars are styled through CSS.

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