Skip to main content
Public

Share visualization

Loading preview…

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

Customizing Axes

1
NNeepaB
Last edited Feb 14, 2021
Created on Dec 14, 2020
Forked from Make a Bar Chart

This bar chart displays the population of the top 10 most populous countries, using a logarithmic-free linear scale for the x-axis and categorical bands for country names. The visualization customizes axes by removing default domain lines and tick marks, applying a tick format that abbreviates large numbers (e.g., "G" for billions) and adding styled axis labels and a title. Built with D3 v5, it uses `scaleLinear`, `scaleBand`, `axisBottom`, `axisLeft`, and `format` APIs, rendering to SVG with data loaded from a CSV file.

AI-generated description

This bar chart shows population of the top 10 most populous countries in the world.

Comments

Sign in to join the discussion.

MIT Licensed