Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 task 1

Public visualization

Viewing a saved revision (read-only)

bfc5ed83fc0748f5a3ad6f06a779a3cc

Activity 6 task 1

0 stars1🌍 Public
NNithish Karanam
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This bar chart ranks the top 30 countries by population in 2020, using horizontal bars with population values on the x-axis and country names on the y-axis. The visualization is built with D3.js (v7) and rendered as an SVG, loading data from a CSV file. It uses custom components like `AxisBottom`, `AxisLeft`, and `Marks` to create the axes and bars, with D3's `scaleLinear` and `scaleBand` for data mapping and a custom tick format that converts numbers to billions.

AI-generated description