Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Tutorial 1

Public visualization

Viewing a saved revision (read-only)

23bd09eea8324180a4877cfc43dea985

Fork of Tutorial 1

0 stars0🌍 Public
Pperamranji
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from Tutorial 1

This is a horizontal bar chart showing the populations of the top 10 countries in the year 2000. Built with D3 v7, the visualization uses `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the categorical y-axis. The bars are rendered as SVGs using `d3.axisBottom`, `d3.axisLeft`, and `d3.selectAll` to draw rectangles. Data is loaded asynchronously via `d3.csv` from a remote GitHub repository.

AI-generated description