Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_population_question1

Public visualization

Viewing a saved revision (read-only)

d33ea020f9564748988e39acbb96b8fa

Activity6_population_question1

0 stars0🌍 Public
Mmanisahiths54321@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024

This bar chart shows the top 10 most populous countries in the year 2000, sorted in descending order. It uses D3.js to load data from a GitHub-hosted CSV, parse it with `d3.csvParse`, and render an SVG with `scaleBand` and `scaleLinear`. The y-axis measures population, and bars change color on hover via CSS.

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.