Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8-Task1.1

Public visualization

Viewing a saved revision (read-only)

68fbeff0ff1641eeb424d78a0448633a

Activity8-Task1.1

0 stars0🌍 Public
Sshaiksajidali
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This horizontal bar chart shows the population of ten countries in the year 2000, sorted by country name. The visualization uses React to render SVG elements, with D3.js v5 functions like `scaleBand`, `scaleLinear`, and `format` for positioning and tick labeling. Data is loaded from a remote CSV file using D3's `csv` function. The chart includes blue axis tick lines, green bars, and tooltips that display the population value when hovering over a 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.