Skip to main content
100%

Activity6_data_vis Q1.2

✓ Published0🌍 Public
Aaashrithas2000@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This bar chart displays the population of 20 countries for the year 2010, with each country listed on the y-axis and the population value extending horizontally. The visualization uses React with SVG rendering, leveraging D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the x-axis. A custom tooltip, provided by the `<title>` element, shows the formatted value on hover. Data is loaded from a CSV file using D3’s `csv` function, and axis tick formatting converts large numbers to billions using D3’s `format`.

AI-generated description
MIT Licensed

Similar vizzes