Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Surendar Bar Chart

Public visualization

Fork of Surendar Bar Chart

0 stars0🌍 Public
Jjt23346059@gmail.com
Last edited Sep 12, 2024
Created on Sep 12, 2024
Forked from Surendar Bar Chart

This horizontal bar chart compares the populations of ten countries, using a linear scale for population values and a band scale for country names. The visualization renders as SVG rectangles filled with steelblue, with axes generated via `axisLeft` and `axisBottom`. The code loads data from a CSV file, multiplies each population value by 1,000, and applies a margin-based layout using `scaleLinear`, `scaleBand`, and D3 v5’s `select` and `csv` methods.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed