Skip to main content
100%

activity_6 Task1

✓ Published5🌍 Public
Hhui249378@gmail.com
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from React Starter

This visualization shows population figures for 20 countries in 2010 as a horizontal bar chart. The bars are rendered as SVG rectangles, with the data loaded from a CSV file and transformed using D3’s `csv` parser. React constructs the SVG elements, while D3’s `scaleBand` and `scaleLinear` position the bars and axes. A tooltip, implemented via the SVG `<title>` element, displays the formatted population value when hovered.

AI-generated description
MIT Licensed

Similar vizzes