Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

India-Map-react-app-1

Public visualization

Viewing a saved revision (read-only)

5c5af74726df41ac87cf0390ca0faade

India-Map-react-app-1

0 stars1🌍 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.