Skip to main content
100%

Activity 7

✓ Published0🌍 Public
Lleftymadi
Last edited Jun 28, 2023
Created on Jun 28, 2023
Forked from Hello VizHub

A bar chart displays the top ten countries by population in 2020, with horizontal bars sorted by country name and formatted population values in billions. Built with React and D3 v5, the visualization uses `scaleBand` for categorical y-axes, `scaleLinear` for numerical x-axes, and SVG `rect` elements rendered from CSV data loaded via `d3.csv`. Axes are constructed with custom React components, and tick labels are formatted using D3's `format` function.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes