Lokesh Question 1.1
✓ Published0🌍 Public
This example shows a horizontal bar chart ranking the populations of ten countries for the year 2000. The bars are sorted by country name, with population values scaled linearly along the x-axis and formatted in billions. The visualization uses React to render SVG elements, with D3 v5 providing the scales (`scaleBand`, `scaleLinear`), axis components, and CSV data loading via `d3.csv`. The underlying data comes from the `Activity6_Population.csv` file, and hovering over each bar reveals a tooltip with the formatted population value.
AI-generated descriptionHorizontal bar chart of 10 countries in 2000 using Activity6_Population.csv
MIT Licensed