Skip to main content
100%

Activity 6_Task 1

✓ Published0🌍 Public
NNithish Karanam
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Activity 6_Task 1

This bar chart displays 2020 population estimates for 30 countries, with country names on the y-axis and population on the x-axis. The visualization uses React with D3 v6, employing `scaleBand` and `scaleLinear` for axes, and renders SVG rectangles via the `Marks` component. The data is loaded asynchronously from a CSV file using the `csv` function, with population values multiplied by 1000 and formatted using `format('.2s')` to show values in billions. Native SVG `<title>` elements provide tooltips on hover.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes