Lokesh Question 1.2
✓ Published0🌍 Public
This example shows a horizontal bar chart of the populations of 20 countries in 2010, with each bar labeled by country name and the x-axis formatted in billions. The visualization uses React components to render SVG rects for each bar, with axes generated from d3.scaleBand and d3.scaleLinear. Data is loaded asynchronously from a CSV file via d3.csv, and the bars include a native SVG <title> element for tooltips. The styling uses a green fill for bars and blue tick lines.
AI-generated descriptionHorizontal bar chart of 20 countries in 2010 using Activity6_Population.csv
MIT Licensed