Fork of Activity6 Q_1.2
✓ Published0🌍 Public
This bar chart displays the population of up to twenty countries for 2010. The React application uses d3’s `scaleBand` and `scaleLinear` to map country names and population values to screen positions. SVG rectangles, defined in the `Marks` component, render each bar, with hovering revealing a tooltip formatted by d3’s `format` function. The chart’s axes are drawn from the custom `AxisBottom` and `AxisLeft` components, while data is loaded asynchronously from a CSV file using d3’s `csv` method.
AI-generated descriptionMIT Licensed