Skip to main content
100%

HTML Starter

✓ Published1🌍 Public
Ttheodasilva
Last edited Apr 21, 2020
Created on Mar 10, 2020
Forked from HTML Starter

This example displays a horizontal bar chart of country populations using D3 v5. It loads data from a CSV file and appends SVG rectangles scaled by population values. The chart uses `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis categories, and `d3.axisLeft` to render the country labels. A margin-based layout shifts the bars via an SVG `<g>` transform, with a 1000-person offset added to each population value before rendering.

AI-generated description
MIT Licensed

Similar vizzes