🌍 Public
Viewing a saved revision (read-only)
c291abe6b3884ff494ea331f301cd9f9
Fork of Activity-6_task-1
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.