Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question1.1

Public visualization

Viewing a saved revision (read-only)

cc1fe4d1539c4d8a9ad282e5179c213a

Activity6_Question1.1

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

This bar chart displays the populations of ten countries in the year 2000, using horizontal bars colored in light green. The chart is built with React and D3 v5, rendering as an SVG. It uses `d3.scaleBand` for the categorical y-axis (countries) and `d3.scaleLinear` for the quantitative x-axis (population), with tick marks styled via CSS. Population values are formatted using `d3.format` and shown as tooltips. Data is loaded from a remote CSV file and processed with `d3.csv`.

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.