Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6-q1.1

Public visualization

Viewing a saved revision (read-only)

86d460351bed44acb4ce6d45951f941d

Activity-6-q1.1

0 stars1🌍 Public
Bbhargavr016@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

A horizontal bar chart shows the population of the top ten countries in the year 2000, with bars ordered by country name and green rectangles sized by population. The chart uses React components for rendering SVG elements, with d3.scaleBand and d3.scaleLinear for positioning, and d3.format for abbreviating tick labels. Data is loaded asynchronously from a CSV file via d3.csv, which also multiplies the population values by 1000 to reflect actual counts.

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.