Skip to main content
100%

Activity6_Question1

✓ Published2🌍 Public
Kkartheekgrpt@gmail.com
Last edited Oct 21, 2024
Created on Oct 20, 2024

A horizontal bar chart displays the top 10 countries by population in the year 2000, with bars extending rightward from a blue baseline and red fills. The chart uses D3 v5 scales to map country names on the y-axis and population counts on the x-axis, with tick labels formatted using the `format('.2s')` shorthand. Data is loaded asynchronously from a CSV file via `d3.csv`, and the React-driven SVG renders axes and marks through custom components, including a tooltip showing the formatted population value on hover.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes