Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of INTER - bar chart of crime in India VER.3

Public visualization

Viewing a saved revision (read-only)

9a072bb0b56e4b30a6e7871ad022a198

Fork of INTER - bar chart of crime in India VER.3

0 stars0🌍 Public
LlzlazmSylas
Last edited Oct 6, 2021
Created on Oct 6, 2021

This bar chart shows the total number of rape cases recorded across Indian states for the year 2008, with states sorted in descending order along the y-axis. Built with D3.js v7, the visualization uses `d3.rollup` to aggregate the dataset by state and `d3.scaleLinear` and `d3.scaleBand` for axes. Each bar responds to mouseover events by changing opacity and displaying a tooltip with the state name. The SVG rendering includes custom axis styling and labels for the chart title and axis titles.

AI-generated description