Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_population

Public visualization

Activity6_population

0 stars0🌍 Public
Rrishithagovini99@gmail.com
Last edited Apr 6, 2024
Created on Apr 4, 2024

This bar chart displays the population of ten countries in the year 2000, with horizontal bars representing each nation’s population size. The visualization uses React to render SVG elements, while D3 v5 handles data loading, scaling, and axis generation through `scaleBand`, `scaleLinear`, and custom `AxisBottom` and `AxisLeft` components. Population values are loaded from a CSV file via `d3.csv`, formatted with `d3.format`, and displayed with tooltips showing the precise figures.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed