Skip to main content
100%

Activity 7

✓ Published0🌍 Public
Ssaikrishnabussa
Last edited Jul 20, 2023
Created on Jul 20, 2023
Forked from Fork of D3 Starter

This example shows the 20 most populous countries in 2020 as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. The bars are rendered as SVG rectangles using React components, with scales created via `d3.scaleBand` and `d3.scaleLinear`. Axis ticks are formatted using `d3.format` to convert values to billions. The data is loaded from a CSV file using `d3.csv`, and the chart includes tooltips via SVG `<title>` elements.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes