Skip to main content
100%

Fork of Fork of activity 6_Question1_sub2

✓ Published0🌍 Public
Ssuchigeneralpur@gmail.com
Last edited Apr 5, 2024
Created on Apr 4, 2024

This visualization displays the 2010 population estimates for 20 countries as horizontal bar marks, with the data loaded from a remote CSV file using D3's `csv` function and rendered as SVG via a React component. The example demonstrates integrating React's declarative structure with D3 v5 scales (`scaleBand`, `scaleLinear`) and formatting utilities, where the `Marks` component uses `xScale` and `yScale` to position rectangles, and the axes are built from reusable `AxisBottom` and `AxisLeft` components that generate tick marks and labels.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes