Activity-6(Task1)
✓ Published0🌍 Public
This example visualizes the 2010 populations of the top 20 countries as a horizontal bar chart, using a linear scale for population and a band scale for country names. The chart is rendered as an SVG via React, with D3 v5 handling the data loading, scaling, and tick formatting. Data is fetched from a CSV file, and hover tooltips display each bar’s value, formatted with D3’s `format` function.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed