Skip to main content
100%

Activity-8 Task 1

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

This chart displays the populations of twenty countries in 2010 as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. The visualization uses React to render SVG elements through D3 scales, specifically `scaleBand` for the categorical y-axis and `scaleLinear` for the continuous x-axis. The data is loaded as CSV from a GitHub repository, and the population values are transformed by multiplying the raw value by 1000. Tooltips show the formatted population value on hover, while the x-axis labels use a D3 `format` to abbreviate large numbers, such as replacing 'G' with 'B'.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes