Skip to main content
100%

India-Map-react-app-1

✓ Published1🌍 Public
NNita
Last edited Aug 26, 2023
Created on Aug 25, 2023

This example presents a horizontal bar chart visualizing crime rates against women across Indian states and union territories in 2021, using data from a CSV file loaded via d3.csv. The React application renders SVG bars with d3.scaleLinear and d3.scaleBand, sorting states by descending crime rate. Bars are colored steel blue with adjustable opacity and stroke width on selection. The chart includes axes generated by d3.axisLeft and d3.axisBottom, plus value labels and hover-triggered text showing state names and rates.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes