Skip to main content
100%

Fork of Activity 7

✓ Published0🌍 Public
Vvamsikrishnakanchukommala@my.unt.edu
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity 7

This visualization shows the population of thirty countries in 2020 as a horizontal bar chart, with a title labeling the x-axis "POPULATION-2020". It uses React to render an SVG and the D3 v5 library's `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. D3's `format('.2s')` formats axis tick labels (e.g., converting values to billions), and the `csv` function loads population data from a remote GitHub CSV file. The chart is interactive only through SVG `<title>` tooltips showing exact values.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes