Skip to main content
100%

Activity-6 question-1

✓ Published0🌍 Public
Ssannihitha.k23@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024

Population data for twenty countries in 2010 is displayed as a horizontal bar chart built with React and D3 v5. The chart uses scaleBand for the categorical y-axis and scaleLinear for the numeric x-axis, with bars rendered as SVG rectangles. Population values are formatted using d3.format with a suffix conversion from ’G’ to ’B’. The data is loaded asynchronously from a CSV file via d3.csv.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes