activity 6_Task 1
✓ Published1🌍 Public
This example displays a horizontal bar chart of population figures for 30 countries in 2020, with country names on the y-axis and population totals on the x-axis. The visualization uses React components to render SVG elements, with d3.scaleBand and d3.scaleLinear for positioning and scaling, and d3.csv to load the dataset from a raw GitHub URL. The bars are colored purple, axis ticks are styled in red and gray, and hover tooltips show formatted population values using d3.format.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed