Fork of Activity-6_task-1
✓ Published0🌍 Public
This visualization shows the populations of 30 countries in 2020 as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. It uses React and d3.scaleBand for the categorical y-axis and d3.scaleLinear for the quantitative x-axis, rendering SVG rectangles via the Marks component. The data is loaded as CSV using d3.csv, with population values formatted using d3.format. Axes are custom components built with SVG elements, and the chart is styled with the Poppins font.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed