Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Actitvity6.1

Public visualization

Viewing a saved revision (read-only)

0caeb7348be243e387a075e875257e3e

Actitvity6.1

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

A bar chart displays the populations of ten countries in the year 2000, with countries on the y-axis and population values on the x-axis. The visualization uses React components with D3 v5's `scaleBand` and `scaleLinear` for axes, and renders SVG rectangles as marks. Data is loaded from a CSV file via `useData` and `csv`, with population values converted from thousands. Tooltips show formatted values using D3's `format` function, while blue axis ticks and green bars follow CSS-defined styling.

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.