Skip to main content
100%

Fork of Making a Bar Chart/Customizing Axis

✓ Published1🌍 Public
Aadelgrosso
Last edited Aug 18, 2021
Created on Aug 18, 2021

A horizontal bar chart displays the ten most populous countries, with population values on the x-axis and country names on the y-axis. Population numbers are formatted using `d3.format`. The chart uses `d3.scaleLinear` and `d3.scaleBand` to map data from a CSV file, with `d3.axisLeft` and `d3.axisBottom` for the axes. SVG rectangles are rendered via D3 selections, with the y-axis domain removed and grid lines drawn through `tickSize`.

AI-generated description
MIT Licensed

Similar vizzes