Skip to main content
100%

Activity 7

✓ Published0🌍 Public
SSharankumar02
Last edited Jul 3, 2023
Created on Jul 3, 2023
Forked from Hello VizHub

This visualization presents a horizontal bar chart ranking the populations of 20 countries in 2020, from largest to smallest. The data is loaded from a remote CSV file and rendered as an SVG using the React framework with D3 version 5. The code uses D3's `scaleBand` and `scaleLinear` functions to map country names and population values to the chart's axes, with `format` for tick labels. Interactive tooltips, generated from the `Marks` component, display each bar's value on hover.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes