Skip to main content
100%

Activity6_population

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

This chart displays the top 10 countries by population in the year 2000, using a horizontal bar chart where bar length corresponds to population. The visualization is built with React and D3 v5, rendering SVG elements. The data is loaded from a remote CSV file using D3’s `csv` function. Axes are generated with `scaleBand` and `scaleLinear`, while the bars themselves are created as SVG `<rect>` elements with tooltips showing the population value using D3’s `format` function.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes