Skip to main content
100%

simple barchart exploration

✓ Published1🌍 Public
Rrv-nath
Last edited Jul 1, 2023
Created on Jun 29, 2023
Forked from D3 Starter

This example displays the top 10 most populous countries as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. The visualization uses D3 v7 with SVG rendering, employing `scaleLinear` and `scaleBand` for scales, `axisLeft` and `axisBottom` for axes, and `csv` to load population data from a local file. The bars are colored steelblue, and the population is formatted with a custom tick formatter that abbreviates large numbers.

AI-generated description
MIT Licensed

Similar vizzes