Skip to main content
Public

Share visualization

Loading preview…

Customizing Axes [complete]

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

Customizing Axes [complete]

0
SShokoLocoMocco
Last edited Dec 28, 2020
Created on Dec 25, 2020
Forked from Making a Bar Chart

This bar chart displays the population of the top 11 most populous countries, using data from the 2019 UN World Population Prospects. The chart highlights customized axes: the y-axis uses a band scale with minimal styling, while the x-axis uses a linear scale with tick marks extending across the plot and formatted labels (e.g., "1.4B" using d3.format). The chart is rendered as an SVG using d3.selection, d3.scaleLinear, d3.scaleBand, and d3.axisBottom/axisLeft.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2019 estimate in United Nations: World Population Prospects 2020.

Comments

Sign in to join the discussion.

MIT Licensed