Skip to main content
100%

Customizing

✓ Published0🌍 Public
Wwen787
Last edited Jun 25, 2019
Created on Jun 25, 2019
Forked from Customizing

This example displays a horizontal bar chart of the top 10 most populous countries, using UN 2018 population estimates from a CSV file. It demonstrates customizing D3 axes by removing tick lines and domains, formatting tick labels with the `format` function, and adding a styled title and axis label. The SVG is rendered using `d3.scaleLinear`, `d3.scaleBand`, `axisBottom`, and `axisLeft`, with custom CSS styling for text and tick marks.

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