Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Question 1

Public visualization

Viewing a saved revision (read-only)

81877ac8e6994d99b66796c2cc6efa46

Activity 6 Question 1

0 stars0🌍 Public
Nnikhilapogula@my.unt.edu
Last edited Apr 3, 2024
Created on Apr 2, 2024
Forked from Hello VizHub

This bar chart displays the population of ten countries in the year 2000, using horizontal bars sorted by country name. The visualization uses D3 v5 scales (scaleBand and scaleLinear) within a React component, rendering to SVG. Data is loaded from a CSV file via D3’s csv function, with the population values formatted using a custom tick formatter that converts large numbers to abbreviated forms like "B" for billions.

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.