Skip to main content
Public

Share visualization

Send this visualization to others.

Customsize axes

Public visualization

By Nikhil206-docom on VizHub

LinkedIn caption

LinkedIn cannot prefill the post text. Copy the caption, then paste it in LinkedIn. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code

The embed preserves the visualization's visibility and project dataset permissions.

Download & exportHTML, source ZIP and authorized project data

Source ZIP contains editable visualization files; it does not include project datasets. Standalone HTML is available where authorized and packages readable referenced data for offline use. Dataset ZIP requires project read permission.

Standalone HTMLSource ZIP
Publishing & handoffCopy a client maintenance summary

Includes the canonical link, visibility, and available export formats. Confirm dataset attribution, licensing and maintenance responsibilities with the publisher.

Customsize axes

0 stars0Public
NNikhil206-docom
Last edited Nov 1, 2026
Created on Nov 1, 2026

This example displays a bar chart of the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects. It demonstrates customizing D3 v5 axes, including a bottom axis with formatted tick labels that abbreviate population numbers and remove the domain line, a left axis stripped of its domain and ticks, and custom axis labels. The chart uses `d3.scaleLinear`, `d3.scaleBand`, `d3.axisBottom`, and `d3.axisLeft` to render the SVG visualization.

Comments

Sign in to join the discussion.

MIT Licensed