Skip to main content
Public

Share visualization

Loading preview…

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

bar chart

0
Mmuddcohd
Last edited May 18, 2022
Created on May 18, 2022
Forked from Let's Make A Face

This bar chart displays the populations of ten countries, ranging from China at over 1.4 billion to Mexico at roughly 131 million. The visualization uses D3 v7's `scaleLinear` and `max` functions to compute the domain from the CSV data, which undergoes a multiplication by 1000 to convert values to actual population figures. The chart renders SVG rectangles with fixed dimensions, though the implementation shown is incomplete, as it does not yet map the scales to the rectangles' positions or heights.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed