Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question1

Public visualization

Viewing a saved revision (read-only)

804728481067452bba5ad3678e4892dd

Activity6_Question1

0 stars0🌍 Public
Vvankayalapatimounika2000@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Activity-6

A horizontal bar chart displays population figures for twenty countries, sorted by country name, with light green bars and a blue axis. The visualization loads CSV data from a GitHub repository and uses D3 v5 scale functions—`scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis—within a React component. SVG rendering via React elements includes custom axis components, formatted tick labels using D3's `format` function, and tooltips on each 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.