Skip to main content
100%

Fork of activity 6_Task 1Q2

✓ Published0🌍 Public
VVijay Sheru
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from activity 6_Task 1

This example shows a horizontal bar chart of the top 20 countries by population in 2010, with bars sorted in descending order from largest to smallest. The chart uses React components with D3.js scales (d3.scaleBand and d3.scaleLinear) to position bars and axes, while the data is loaded from a CSV file using d3.csv. The x-axis employs d3.format to abbreviate large population values, and the SVG rendering includes axis labels and tick styling.

AI-generated description
MIT Licensed

Similar vizzes