Skip to main content
100%

Question 2

✓ Published1🌍 Public
Cchintamanenithp@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This example presents a horizontal bar chart of population trends for multiple countries from 1950 to 2020. It shows how each country’s population grows over time, with bars grouped by year and colored by country. The visualization is rendered as an SVG using D3.js, with data loaded from a CSV file. It uses d3.scaleLinear, d3.scaleBand, d3.axisBottom, and d3.axisLeft, plus a custom tooltip for interacting with individual bars.

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