Fork of Responsive Bar Chart
✓ Published0🌍 Public
This example shows a responsive bar chart of U.S. state populations using D3.js. It fetches CSV data from a GitHub gist, parses it, and renders bars with d3.scaleBand and d3.scaleLinear. The chart uses the @curran/responsive-axes library to handle axis placement and labels, and includes an inner rectangle fill for visual clarity. Bars are drawn as SVG rect elements with dimensions scaled to the population values.
AI-generated descriptionA responsive bar chart.
MIT Licensed