Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 6 -1

Public visualization

ICE 6 -1

0 stars0🌍 Public
CCharith Kapuluru
Last edited Oct 20, 2025
Created on Oct 20, 2025
Forked from D3 Starter

This bar chart ranks countries by their 2024 GDP in billions of U.S. dollars, using a horizontal layout with rotated country labels and tick marks for readability. The visualization loads a CSV from a GitHub gist via `d3.csv`, filters it to the year 2024, and sorts values in descending order. It renders an SVG using `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and includes axes via `d3.axisBottom` and `d3.axisLeft`. Tooltips with exact values appear on each bar using SVG `<title>` elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed