Fork of Fork of Hello VizHub bhbj
✓ Published0🌍 Public
A horizontal bar chart ranks ten countries by their population in the year 2000, using gray rectangles with blue tick lines and axis labels. The visualization loads CSV data from a GitHub URL and processes it with d3.csv, then scales the population values with d3.scaleLinear and positions the bars using d3.scaleBand. React components render the SVG axes and marks, while d3.format abbreviates tick labels (e.g., converting billions to "B"). The chart includes a "population-2000" x-axis label and provides tooltips showing the formatted population value for each bar.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed