Skip to main content
100%

Fork of Fork of Activity7question1

✓ Published0🌍 Public
Vvaishnavi6gan@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024

This example displays a horizontal bar chart comparing the populations of ten countries in the year 2000, using a D3 v5 scaleBand for countries and a scaleLinear for population. The React-based rendering utilizes SVG, with `AxisBottom` and `AxisLeft` components generating ticks, while `Marks` creates rectangles whose widths encode population values. A tooltip, defined via `<title>`, shows the abbreviated population figure. Data is loaded asynchronously from a remote CSV file using D3's `csv` function.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes