Activity6_Q1.2
✓ Published0🌍 Public
This bar chart visualizes the 2010 populations of the top 20 countries from a CSV file. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, rendering rectangles as SVG marks. A tooltip shows each bar’s exact value, and the x-axis labels are formatted using `format('.2s')` to abbreviate large numbers. The chart is styled with custom tick colors and a green fill, with axes and labels generated by the custom `AxisBottom` and `AxisLeft` components.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed