Population Bar Chart with margins
✓ Published1🌍 Public
This visualization displays the top 10 countries by 2020 population as horizontal bars. The chart uses React with hooks to fetch and manage data, while D3 v5 provides the scaling functions—`scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Rendered as SVG, the chart applies fixed margins to position the plot area, loading data from a CSV via a gist URL.
AI-generated descriptionA program that loads and visualizes some data
MIT Licensed