Skip to main content
100%

Activity8Task1_UN

✓ Published1🌍 Public
Uuzairnaeem15@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity 7

This example displays a horizontal bar chart of the 2020 populations for ten countries, with bars extending rightward from the y-axis. The chart is built with React and rendered as an SVG, using D3 v5’s `scaleBand` and `scaleLinear` functions for axis scaling. Data is loaded from a CSV file via D3’s `csv` parser. The x-axis tick labels are formatted using D3’s `format` function to abbreviate large numbers, and tooltips show the same abbreviated values.

AI-generated description
MIT Licensed

Similar vizzes