Skip to main content
100%

activity 6q1.2

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

This bar chart visualizes the population of various countries in 2010, with the countries listed on the y-axis and population values on the x-axis. It uses the D3.js scaleBand and scaleLinear APIs to map data to SVG rectangles, which are rendered via React components. The chart displays the top 20 countries from a CSV dataset, formatting x-axis tick labels using D3’s format function to abbreviate values (e.g., "1.2B"). The x-axis is labeled "POPULATION-2010", and tooltips show exact formatted population values on hover.

AI-generated description
MIT Licensed

Similar vizzes