Skip to main content
100%

Fork of question 1

✓ Published0🌍 Public
Aamshureddy13@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from question 1

This horizontal bar chart displays the population of ten countries in the year 2000, sorted from the largest to the smallest population. The visualization uses D3 v5 scales (`scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis) within a React component, with SVG rendering for the bars. Data is loaded asynchronously from a CSV file via D3's `csv` utility, and hovering over a bar reveals its population value in billions using a title tooltip. The chart’s axes are customized with tick lines in blue and formatted labels.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes