Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HTML Starter

Public visualization

Viewing a saved revision (read-only)

e7065751a2d9480c8ef282f1e9848473

HTML Starter

0 stars1🌍 Public
DDanzeOnn
Last edited Jun 13, 2020
Created on Jun 13, 2020
Forked from HTML Starter

This example displays a horizontal bar chart of the world's ten most populous countries, ranking them from China to Ethiopia using population data loaded from a CSV file. The visualization uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the chart, with grid lines and formatted tick labels (e.g., converting millions to billions) rendered as SVG. The bar lengths represent each country's population, with a title above the plot and an x-axis label below.

AI-generated description