Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar chart of crime in India

Public visualization

Bar chart of crime in India

0 stars3🌍 Public
LlzlazmSylas
Last edited Sep 29, 2021
Created on Sep 22, 2021
Forked from Making a Bar Chart

This bar chart displays the total number of rape cases reported across different states in India, with each bar’s height proportional to the case count. The visualization uses D3 v7’s `scaleLinear` and `scaleBand` to map case numbers to horizontal bar lengths and states to vertical positions, rendering as SVG with semi-transparent red bars. The x-axis is labeled “Total number of rape crime cases in India,” and data comes from a CSV file loaded via `d3.csv` containing crime statistics against women.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed