Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Axes

Public visualization

Viewing a saved revision (read-only)

c96b76e203bf494bb06b363117a431a3

D3 Axes

0 stars2🌍 Public
Ddileep73
Last edited Dec 12, 2019
Created on Dec 12, 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