Skip to main content
100%

Activity 1_task 1

✓ Published0🌍 Public
Ssindhureddykandada@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Hello VizHub

This example displays a horizontal bar chart of population figures for 30 countries in 2020, using D3 scales for positioning and React for rendering. It loads comma-separated data from a GitHub-hosted CSV file, parsing the `2020` column and multiplying by 1000 to represent population. SVG rectangles are generated from the `Marks` component, with axes drawn using `scaleBand` and `scaleLinear` and formatted with D3's `format` function, converting Giga to Billions for labeled ticks.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes