Skip to main content
100%

Activity6_population_Q1.2

✓ Published0🌍 Public
Sshettisowmya01@gmail.com
Last edited Oct 20, 2024
Created on Oct 18, 2024
Forked from Hello VizHub

This visualization displays the population of 20 countries in 2010, using horizontal bars to compare values. Built with React and rendered as an SVG, the chart uses D3 v5 functions like `scaleBand` and `scaleLinear` for axes, and `format` to abbreviate tick labels. Data is loaded from a CSV file via `csv()`, and tooltips reveal each bar’s exact population.

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