Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Task 1 Q1.1

Public visualization

Activity 6 Task 1 Q1.1

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

This bar chart displays the top 10 countries by population in the year 2000, using a horizontal layout with light green bars. The visualization employs D3 v7 with SVG rendering, using `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the categorical y-axis. Data is loaded from a CSV file via `d3.csv`. Axes are drawn with `d3.axisBottom` and `d3.axisLeft`, with tick labels formatted using `d3.format` to abbreviate large numbers, while axis titles explicitly label the population values and country names.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed