Skip to main content
100%

Activity 7

✓ Published0🌍 Public
Bbogasamudramvamsikrishnareddy
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from Hello VizHub

This chart visualizes the 2010 population of the top 20 countries by country, presented as a horizontal bar chart. The code uses React to construct the SVG elements, with D3's `scaleBand` and `scaleLinear` to map data to the x and y axes. The data is fetched live from a CSV file using D3's `csv` function. Blue axis ticks and green bars are styled via CSS, with a tooltip showing the formatted population on hover.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes