Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_question1

Public visualization

Viewing a saved revision (read-only)

71a88e0aceec47c5aa26dec4a5e2b440

Activity6_question1

0 stars0🌍 Public
VVrushikaKanaparthy@my.unt.edu
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

A horizontal bar chart displays the population of the top ten countries in the year 2000, with bars extending from left to right. The visualization uses D3’s `scaleBand` for the y-axis to position each country and `scaleLinear` for the x-axis to map population values, with axis tick labels formatted using D3’s `format`. Data is loaded from a remote CSV file via `d3.csv`, and the chart is rendered as an SVG with React, with tooltips showing the formatted population for each bar.

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.