Skip to main content
100%

Making chart

✓ Published1🌍 Public
Zzakaria badri
Last edited May 7, 2020
Created on Apr 27, 2020
Forked from HTML Starter

This example displays a horizontal bar chart ranking the top 10 most populous countries using data from a CSV file. It renders SVG bars with a linear population scale and a banded country scale, formatted with tick labels abbreviating billions. The code uses D3 v5 functions like `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`, while removing default axis lines and adding custom text labels for the chart title and population axis.

AI-generated description
MIT Licensed

Similar vizzes