bar-chart
✓ Published0🌍 Public
This horizontal bar chart visualizes the 2021 chargesheet rates for Indian states and union territories using a sequential blue color scale. Built with React and D3 v7, it loads data from a GitHub-hosted CSV file, sorts values in ascending order, and renders bars scaled by a linear x-axis with a categorical y-axis. The chart includes interactive hover effects that display state names and adjust bar opacity and stroke width. Axes are generated using d3.axisLeft and d3.axisBottom within a 1000x1000 SVG layout.
AI-generated descriptionReact Starter code.
MIT Licensed