Skip to main content
100%

Activity6_Q1.1

✓ Published1🌍 Public
Tthakurnikhitha4@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Activity6_T1

This example displays a horizontal bar chart of population data for ten countries for the year 2000, using a D3 v5 scaleBand and scaleLinear within a React component. The SVG rendering maps each country’s population value to a scaled bar width, with axis tick marks and tooltips formatted via `d3.format`. Data is loaded asynchronously from a CSV file using `d3.csv`, and the chart includes blue grid lines and green bars, with a custom Poppins font applied.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes