Activity 8 Hello VizHub
✓ Published0🌍 Public
This example displays a horizontal bar chart of population data for 30 countries in 2020, with country names on the y-axis and population values on the x-axis. The visualization uses React with D3 v5’s `scaleBand` and `scaleLinear` for positioning, and renders SVG rectangles via the `Marks` component. Data is loaded asynchronously from a CSV file using `d3.csv`, with axes generated through custom `AxisBottom` and `AxisLeft` components. Tooltips appear on each bar showing the formatted population value.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed