Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

simple barchart exploration

Public visualization

Viewing a saved revision (read-only)

db2b78a61ba34e7c9de8155d32c53417

simple barchart exploration

0 stars1🌍 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