Skip to main content
100%

act 6_q1 2

✓ Published0🌍 Public
YYeruva Snehith Reddy
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

This example displays a horizontal bar chart comparing the 2010 populations of twenty countries, ordered by country name. Population values are formatted using `d3.format` with a custom tick formatter that converts units from Giga to Billion. The chart uses D3 v5 scales (`scaleBand`, `scaleLinear`) and is rendered with React and SVG, loading data from a CSV file. The visualization includes blue axis lines and green bars, with a title labeling the x-axis as "POPULATION-2010".

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