Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Actvity7_Task1

Public visualization

Viewing a saved revision (read-only)

689d280ddd504dc7a055aaa614427d32

Actvity7_Task1

0 stars0🌍 Public
HHarshithaAmbilpur
Last edited Jul 20, 2023
Created on Jul 9, 2023
Forked from Activity6

A horizontal bar chart displays country populations for 2020 using React and D3 v5. The chart loads CSV data from a GitHub gist, converts string values to numbers, and slices the dataset to show the top 20 countries. D3 scales position bars, while React components render SVG axes, tick marks, and rectangles with tooltips showing formatted population values.

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.