Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_6_Task_1_Q1.1

Public visualization

Viewing a saved revision (read-only)

844db001cfd34d98ad1fdcf6c2918295

Activity_6_Task_1_Q1.1

0 stars0🌍 Public
AAP19110020041-Pavan Kumar
Last edited Oct 25, 2024
Created on Oct 25, 2024
Forked from Hello VizHub

A horizontal bar chart displays the population of the top 10 countries in the year 2000, using a linear scale for population values and a band scale for country names. The visualization is built with React and D3 v5, rendering SVG elements through reusable components for axes and marks. Data is loaded from a remote CSV file using D3’s `csv` function and formatted with the `format` utility. Each bar includes a tooltip showing the population value via a native SVG `<title>` element.

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.