Skip to main content
100%

d3

✓ Published0🌍 Public
Jjackzzryanzz
Last edited Jun 27, 2023
Created on Jun 26, 2023
Forked from D3 Starter

This example shows a horizontal bar chart comparing the populations of eight countries, from China’s 1.4 billion down to Bangladesh’s 166 million. It uses the d3.v7 library with the `csv`, `select`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` APIs to load data from a CSV file and render SVG rectangles. Axes are styled, with population labels formatted in billions using the `.3s` format.

AI-generated description
MIT Licensed

Similar vizzes