Skip to main content
100%

Question 2

✓ Published0🌍 Public
Jjaideeptripurani12@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Question 2

A horizontal bar chart displays population change for ten countries from 1950 to 2020, with each row representing a year and bar length scaled to population. The chart uses D3 v7’s `scaleBand` for the year axis, `scaleLinear` for population, and `scaleOrdinal` with `schemeCategory10` for country colors. Interactive tooltips appear on mouseover, showing the exact year and population value. Data comes from a local CSV file loaded and parsed by D3.

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