Skip to main content
100%

Fork of Question1.2

✓ Published0🌍 Public
Aasimcyb@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Question1.1

A bar chart displays the 2010 population of 20 countries, sorted by country name on the y-axis and population on the x-axis. The visualization loads data from a remote CSV via `d3.csv`, converts population values from thousands, and renders horizontal bars using React and SVG. `d3.scaleBand` and `d3.scaleLinear` position bars, while custom `AxisBottom` and `AxisLeft` components generate ticks with `d3.format` for abbreviated axis labels. Hovering reveals tooltips via SVG `<title>` elements.

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