Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6

Public visualization

Viewing a saved revision (read-only)

8a917950f4be4807a7a32e1420db4648

Activity 6

0 stars1🌍 Public
KKritin Kesav
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

The visualization displays a horizontal bar chart ranking the populations of 30 countries in 2020, using a green fill for each bar and blue tick marks on a white background. Built with React and D3 version 5, it loads CSV data from a GitHub repository, transforms it with the `csv` function, and renders SVG rectangles via the `scaleBand` and `scaleLinear` scales, with axes drawn by custom `AxisBottom` and `AxisLeft` components.

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.