Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6_Task 1

Public visualization

Viewing a saved revision (read-only)

338cf0b0140148fd9f134483db4d61cc

activity 6_Task 1

0 stars0🌍 Public
Hhemanthmaddila13@gmail.com
Last edited Apr 11, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

A horizontal bar chart displays the populations of ten countries in the year 2000, with country names on the y-axis and population values on the x-axis. The chart uses React components to render SVG elements, with D3 v5's `scaleBand` and `scaleLinear` for scales and `format` for tick labels. Data is loaded asynchronously from a remote CSV file via `d3.csv`, with each rectangle including a native SVG `<title>` element for tooltip display.

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.