Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Eezzep66
Last edited Nov 5, 2019
Created on Nov 4, 2019

A bar chart displays population figures for ten countries using a horizontal layout, with country names on the y-axis and population counts on the x-axis. The chart uses `scaleLinear` and `scaleBand` to position bars, while `axisBottom` and `axisLeft` render the axes, with a `format("s")` tick formatter for compact number labels. A tooltip appears on hover via D3 event listeners. Data originates from the UN Population Division and is loaded as a CSV, with population values multiplied by 1,000.

AI-generated description
MIT Licensed

Similar vizzes