Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Question 1

Public visualization

Viewing a saved revision (read-only)

570c40406e944d53a6690e7cee1063a8

Activity 6 Question 1

0 stars1🌍 Public
BBharath Vupputuri
Last edited Apr 4, 2025
Created on Apr 4, 2025

This bar chart displays the population of ten countries in the year 2000, sorted by country name along the vertical axis. The visualization uses React with D3 v5 to render an SVG, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Population values are loaded from a remote CSV file and formatted using D3’s `format` function, converting large numbers to abbreviated labels. The bars are colored solid blue, with axis ticks rendered in a contrasting red.

AI-generated description