Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Actvity6_question1

Public visualization

Actvity6_question1

0 stars4🌍 Public
1188r1a0559@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Actvity6_task1

This visualization shows population figures for ten countries in the year 2000 using a horizontal bar chart rendered with React and SVG. The code loads CSV data from a GitHub repository via d3.csv, processes the population column with a custom row function, and scales the bars using d3.scaleBand and d3.scaleLinear. Axis components generate ticks and labels, while the Marks component renders each bar with a tooltip showing the formatted population value.

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