Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6

Public visualization

Viewing a saved revision (read-only)

8e55235927664ab99bde483a45cfba64

Activity 6

0 stars0🌍 Public
LLohitha Konidena
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Hello VizHub

This example shows a horizontal bar chart of the top 10 countries by population in the year 2000, with green bars sorted in descending order. The visualization uses D3 v7 with SVG rendering, loading CSV data from a GitHub gist. It employs d3.axisBottom and d3.axisLeft for the axes, d3.scaleLinear for the x-scale, and d3.scaleBand for the categorical y-scale. The chart handles data cleaning by filtering out invalid population values and includes an axis label; the rendering approach uses the join pattern in d3-selection.

AI-generated description