Skip to main content
100%

Activity6_ Question 1

✓ Published0🌍 Public
PPreethamreddyannavaram@my.unt.edu
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Hello VizHub

This example displays a horizontal bar chart of the ten most populous countries in the year 2000, using a dataset loaded from a GitHub-hosted CSV file. The visualization encodes population values as bar lengths and country names on the y-axis, with an SVG rendering in React. The code uses D3’s `scaleLinear` and `scaleBand` to map data to coordinates, and the `format` function to abbreviate tick labels (e.g., \"1.2B\"). Hovering over a bar reveals its exact population via an SVG `<title>` tooltip.

AI-generated description
MIT Licensed

Similar vizzes