Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6 Q1

Public visualization

Viewing a saved revision (read-only)

501a139395a047e5ada6fd402639f919

Activity6 Q1

0 stars0🌍 Public
Kkamalini.ponnuru11@gmail.com
Last edited Oct 17, 2024
Created on Oct 16, 2024
Forked from Simple Bar Chart

This visualization displays the population of 10 countries in the year 2000 as a bar chart using D3 v7. The chart loads CSV data from a GitHub repository, filters for the year 2000, and takes the first 10 records. It uses d3.scaleBand for the categorical x-axis, d3.scaleLinear for the population y-axis, and renders steelblue bars in an SVG container. The code includes rotated x-axis labels and axis titles for Country and Population.

AI-generated description

A bar chart showing the top 10 most populous countries on Earth as of January 1st 2024.

Challenge

  • Fork this viz and modify it to show your own data