Skip to main content
100%

D3 Axes

✓ Published2🌍 Public
Ddileep73
Last edited Dec 13, 2019
Created on Dec 13, 2019
Forked from D3 Axes

This bar chart ranks the ten most populous countries, from China to Mexico, using horizontal bars scaled by population. The chart labels each country on the y-axis and formats population values in billions on the x-axis. Built with D3 v5, the visualization uses `d3.scaleLinear` and `d3.scaleBand` for scales, `d3.axisBottom` and `d3.axisLeft` for axes, and loads data from a local `data.csv` file. The x-axis gridlines extend across the chart, with the country names and title styled via CSS.

AI-generated description
MIT Licensed

Similar vizzes