Skip to main content
100%

Untitled

✓ Published1🌍 Public
RReekMajumder
Last edited Nov 10, 2020
Created on Nov 10, 2020
Forked from Untitled

This bar chart displays the top 10 most populous countries using horizontal bars, with population values scaled linearly and countries arranged on a band scale. The visualization uses D3 v6 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`, with custom tick formatting that converts large numbers to billions. The SVG renders with margins, gridlines via negative tick sizes, and axis labels, all styled through CSS. Data is loaded from a CSV file using D3's `csv` method, with population values multiplied by 1000 to reflect actual counts.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes