D3 Bar Chart
✓ Published0🌍 Public
This interactive bar chart displays United Nations population estimates for 2020 across ten countries, with horizontal bars scaled proportionally using d3.scaleLinear and d3.scaleBand. Built with React and D3 v5, it loads CSV data via d3.csv, converts population strings to numbers, and renders SVG rectangles. The chart updates reactively through React hooks (useState, useEffect, useCallback) asynchronously fetching data from a GitHub gist URL.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed