Skip to main content
100%

Fork of Act6_Q1.2

✓ Published0🌍 Public
Nnumitha
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Act6_Q1.1

This example shows the populations of the top 20 countries in 2010 as a horizontal bar chart. The visualization uses D3 v5’s `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with SVG rectangles rendered via React. Data is loaded from a CSV using D3’s `csv` parser and formatted with `format('.2s')`. The chart includes styled axes and tooltips that display each bar’s value.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes