Skip to main content
100%

First Custom Axis Barchat

✓ Published1🌍 Public
AAnne Lee Steele
Last edited Oct 26, 2018
Created on Oct 25, 2018

This bar chart displays the number of days for each month of the year, using data derived from a custom CSV file. The visualization uses D3 v5 with an SVG rendering approach, employing `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and custom axes created via `axisBottom` and `axisLeft`. The x-axis tick labels are formatted using `format('.2s')` to condense large numbers, while grid lines are generated with `tickSize`. The chart styles bars with steelblue fill and includes a labeled axis title for months.

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.

MIT Licensed

Similar vizzes