Skip to main content
100%

harsha activity6

✓ Published0🌍 Public
Ssriharshakondakindi@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This bar chart shows the top 30 countries by population in 2020. The visualization uses React to render SVG elements and d3-scaleBand for the categorical y-axis and d3-scaleLinear for the quantitative x-axis, with population values formatted from raw data. Data is loaded asynchronously via d3.csv from a GitHub-hosted CSV file. A horizontal bar for each country is created with SVG rect elements, and axis ticks are generated using the scale functions, with tooltips provided through SVG title elements.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes