Skip to main content
Public

Share visualization

Loading preview…

Surendar Bar Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Surendar Bar Chart

1
SSurendar
Last edited Mar 31, 2022
Created on Mar 31, 2022

A horizontal bar chart displays the populations of ten countries, with steel-blue bars sorted by country name and population values scaled in thousands. The visualization uses D3 v5’s `scaleLinear` and `scaleBand` to map population counts to bar widths and country names to vertical positions, with `axisLeft`, `axisBottom`, and SVG `rect` elements for rendering. Data is loaded from a CSV via `d3.csv` and converted to numbers, showing a straightforward comparison of relative national population sizes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed