Skip to main content
100%

Axel Rows

✓ Published0🌍 Public
Bbattlescarredshogun
Last edited Jan 30, 2020
Created on Jan 30, 2020
Forked from Making a Bar Chart

This example presents a horizontal bar chart of population figures for ten countries, using a CSV dataset where population values are multiplied by 1,000. It demonstrates custom axis configuration with D3 v5, employing `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisLeft`/`axisBottom` to render the axes. The visualization renders as SVG, with steel-blue rectangles whose widths map to population and heights derived from the band scale’s `bandwidth`.

AI-generated description

Customize Axes

MIT Licensed

Similar vizzes