Skip to main content
100%

Customize Axis

✓ Published3🌍 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
MIT Licensed

Similar vizzes