Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_task 1

Public visualization

Activity 6_task 1

0 stars2🌍 Public
Ttallapanenisahithi@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024

This bar chart displays the 2020 population estimates for 30 countries, sourced from a CSV file loaded via d3.csv. The visualization uses React with D3 v5, employing scaleBand and scaleLinear for axes and rendering SVG rectangles for each bar. The chart includes labeled axes with formatted tick values, converting billions to a readable format, and tooltips showing exact population values on hover.

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.

Comments

Sign in to join the discussion.

MIT Licensed