Skip to main content
100%

Activity 7 - Task 1

✓ Published0🌍 Public
VVinay Vemuri
Last edited Jul 23, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

This visualization shows a horizontal bar chart comparing the populations of ten countries in 2010, using green bars sorted by country name on the y-axis. The chart is built with React and D3 v5, using `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and SVG `rect` elements for bars. CSV data is loaded via `useData` with `d3.csv`, while custom `AxisBottom` and `AxisLeft` components render ticks and labels. Population values are formatted with `d3.format` and tooltips appear on hover via SVG `title` elements.

AI-generated description
MIT Licensed

Similar vizzes