Skip to main content
100%

D3

✓ Published1🌍 Public
KKyllVis
Last edited May 15, 2020
Created on May 14, 2020
Forked from D3

This example shows a horizontal bar chart of population by country, from a CSV file listing country names and populations. It uses D3 v5 with an SVG layout created from a `scaleLinear` for the x-axis and a `scaleBand` for the y-axis. The rendering approach appends `rect` elements, calls `axisLeft` and `axisBottom` for the axes, and enriches the data by multiplying population values by 1000 before scaling. Styling is handled via CSS.

AI-generated description
MIT Licensed

Similar vizzes