Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_question1.1

Public visualization

Viewing a saved revision (read-only)

3651a5bc286c4ac7b5108561567274a2

Activity6_question1.1

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

A horizontal bar chart displays the population of ten countries for the year 2000, ranked by country, with each bar's length proportional to population. The visualization uses React with D3 v5's `scaleBand` and `scaleLinear` to map countries and population values to SVG coordinates. Data is loaded from a CSV via `d3.csv` and filtered to the first ten rows. Native SVG `<title>` elements provide tooltips, while axes are rendered through custom React components that generate ticks and labels.

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.