Fffork of Stylized Bar Chart
✓ Published1🌍 Public
This example shows the top 14 countries by migrant population in 2020, rendered as a horizontal bar chart using React and D3 v5. The visualization uses `scaleBand` for the y-axis categories, `scaleLinear` for the x-axis values, and SVG `rect` elements with native tooltips via `<title>`. Axes are built with custom React components, and tick labels are formatted with `d3.format`. Data comes from a CSV hosted in a GitHub gist, fetched with the Fetch API and parsed with `d3.csvParse`. The chart uses a Poppins font and a teal color scheme.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed