Skip to main content
100%

Activity 7

✓ Published0🌍 Public
MManideeprenikindi
Last edited Jul 23, 2023
Created on Jul 23, 2023
Forked from Hello VizHub

This example shows the populations of the top 20 countries in 2020 as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. The chart displays green bars and includes axis labels and tick marks. The code uses React with D3 v5 APIs such as `scaleBand`, `scaleLinear`, `max`, and `format` to position and label the bars, and the data is loaded from a CSV file using `csv`. The visualization is rendered as SVG elements within a React component.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes