Skip to main content
100%

Activity 8 Hello VizHub

✓ Published0🌍 Public
Ssruthimreddy6@gmail.com
Last edited Apr 13, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

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 description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes