Skip to main content
100%

Customizing Axes

✓ Published2🌍 Public
BBirmanTAZ
Last edited May 7, 2019
Created on May 7, 2019
Forked from Customizing Axes

This bar chart displays the payroll salaries of the top ten active Red Sox players, with dollar amounts read from a CSV file. The example showcases how to customize D3 axes using `d3.axisBottom` and `d3.axisLeft`, including tick formatting that abbreviates large numbers, removal of domain lines, and added axis labels. The SVG chart uses `d3.scaleLinear` and `d3.scaleBand` for positioning, with styling applied via external CSS.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes