Stylised Bar chart
✓ Published5🌍 Public
A stylized bar chart displays the populations of ten countries in 2020, sourced from the UN Population CSV file. Built with React and D3 v5, it renders as SVG, using `scaleBand` for the categorical Y-axis and `scaleLinear` for the numeric X-axis. The code defines custom `AxisBottom` and `AxisLeft` components, while each bar includes a native SVG `<title>` element for hover tooltips. The chart features a large Poppins font, teal bars, and a formatted axis label that abbreviates billions as “B”.
AI-generated descriptionMIT Licensed