Skip to main content
100%

bar-chart

✓ Published0🌍 Public
NNita
Last edited Aug 26, 2023
Created on Aug 26, 2023
Forked from React Starter

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 description

React Starter code.

MIT Licensed

Similar vizzes