Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity 6_T-1 Q-2

Public visualization

Viewing a saved revision (read-only)

8a789ee09dae4e6083513f0eab4dc16b

Fork of Activity 6_T-1 Q-2

0 stars0🌍 Public
Kkrishna444battula@gmail.com
Last edited Oct 20, 2024
Created on Oct 19, 2024

This visualization displays the top 20 countries by 2010 population using a horizontal bar chart rendered with React and SVG. D3’s scaleBand and scaleLinear position the bars, while custom React components generate axes and marks. Population values from the CSV are formatted with d3.format (e.g., “1.2B”). The chart includes a title, axis labels, and hover tooltips showing formatted 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.