Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
IIanmp
Last edited Jun 16, 2020
Created on Jun 16, 2020
Forked from Customizing Axes

This bar chart displays the average viewership per season for two TV shows, Friends and HIMYM, based on a supplied CSV dataset. It demonstrates how to customize D3 axes, with axis ticks removed, custom tick formatting using `d3.format`, and axis labels styled via CSS. The visualization uses `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis, with axis functions like `d3.axisLeft` and `d3.axisBottom`. The rendered output is an SVG generated with D3 v5.

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