HTML Starter
✓ Published1🌍 Public
This example displays a horizontal bar chart of the world's ten most populous countries, ranking them from China to Ethiopia using population data loaded from a CSV file. The visualization uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the chart, with grid lines and formatted tick labels (e.g., converting millions to billions) rendered as SVG. The bar lengths represent each country's population, with a title above the plot and an x-axis label below.
AI-generated descriptionMIT Licensed