Fork of Activity 7
✓ Published0🌍 Public
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 descriptionA demonstration of how to start using D3 version 6.
MIT Licensed