activity6_Task1
✓ Published1🌍 Public
This visualization displays a horizontal bar chart comparing the populations of ten countries for the year 2000, sourced from a CSV file loaded via d3.csv. It uses React with d3.v5, rendering SVG bars with d3.scaleBand for the y-axis and d3.scaleLinear for the x-axis. A custom d3.format with the '.2s' specifier converts values to billions, and each bar includes an SVG title element for tooltips. Axes are built with tick components that generate lines and text labels.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed