Skip to main content
100%

Making Bar Chat

✓ Published1🌍 Public
Aatayyaba
Last edited Mar 24, 2020
Created on Mar 23, 2020
Forked from React Starter

This example shows a horizontal bar chart of country populations, with bars sorted alphabetically by country name. The chart uses a linear scale for population values and a band scale for countries, with axes labeled accordingly. Rendered as an SVG, the visualization loads data from an external CSV file using D3's `csv` function, then applies `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` from D3 v5 to construct the chart and support resizing.

AI-generated description
MIT Licensed

Similar vizzes