Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customize Axis

Public visualization

Customize Axis

0 stars3🌍 Public
PPedro Ernesto Tramontina
Last edited Mar 27, 2020
Created on Mar 25, 2020
Forked from Making a Bar Chart

This example displays a horizontal bar chart of the populations of the top ten most populous countries, with a customized axis. D3’s `axisBottom` and `axisLeft` are used to generate the scales, with the x-axis formatted via `tickFormat` to abbreviate numbers and replace 'G' with 'B'. Grid lines are extended using `tickSize`, while axis domains are removed. The chart renders as an SVG and reads data from a CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed