Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BC

Public visualization

Viewing a saved revision (read-only)

d389b4c532554997b6a318b47f3d9e50

BC

0 stars0🌍 Public
Ppadmanabhan-rajendrakumar
Last edited Feb 9, 2020
Created on Feb 9, 2020

A horizontal bar chart displays population estimates for ten countries, showing values scaled in thousands. D3 loads the dataset via `csv`, converts population strings to numbers, and renders rectangles using `scaleLinear` for the x-axis and `scaleBand` for y-axis positioning. The SVG output is sized at 960 by 500 pixels, with bars styled by default and no axes or labels drawn. The code imports `select`, `csv`, `scaleLinear`, `max`, and `scaleBand` from D3 v5.

AI-generated description