Skip to main content
Public

Share visualization

Loading preview…

Fork of Customizing Axes

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

Fork of Customizing Axes

0
SshanLU999
Last edited May 26, 2021
Created on May 26, 2021
Forked from Customizing Axes

A horizontal bar chart displays the populations of the top ten most populous countries, using 2018 UN estimates, with each bar colored by a country-specific hex or named color. The visualization employs d3.csv to load the data, d3.scaleLinear for the population axis, d3.scaleBand for country categories, and d3.axisLeft/d3.axisBottom with tick formatting to abbreviate large numbers. SVG rectangles are appended and sized by the scales, with gridlines and a custom axis label, all styled via external CSS.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data is sourced from 2018 estimate from the link: https://esa.un.org/unpd/wpp/download/standard/population/

Comments

Sign in to join the discussion.

MIT Licensed