Untitled
✓ Published0🌍 Public
This example shows a horizontal bar chart ranking the ten most populous countries in 2020, based on UN population estimates. The chart uses React to manage state and render the visualization, with d3.csv loading the data from a GitHub-hosted CSV file. The bars are drawn using JSX within a Marks component, while AxisBottom and AxisLeft handle the scales and tick marks. Population values are formatted in millions by multiplying the raw 2020 figure by 1000.
AI-generated descriptionMIT Licensed