Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
Iisaachowen
Last edited Aug 11, 2019
Created on Jul 18, 2019
Forked from Making a bar chart

This bar chart displays the populations of the top 10 most populous countries, using 2018 estimates from the data source. The visualization customizes both axes by removing domain lines, adding gridlines on the x-axis through `tickSize`, and formatting population values with `d3.format`. The code uses d3 v5 with `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render SVG elements, with a title and axis label included.

AI-generated description

This bar chart shows blablabla. The data comes from the year xxxx estimate from blabablbalabl(website link).

MIT Licensed

Similar vizzes