Skip to main content
100%

INTER - bar chart of crime in India VER.2

✓ Published1🌍 Public
LlzlazmSylas
Last edited Oct 6, 2021
Created on Oct 6, 2021

This bar chart displays the total number of rape cases reported across Indian states for the year 2008, sorted in descending order. The visualization uses D3 v7 with SVG rendering and animated transitions, featuring a hover effect that highlights each bar and displays the state name in a tooltip. The code filters the dataset to a specific year, aggregates the crime data using d3.rollup, and scales the bar lengths with d3.scaleLinear and d3.scaleBand. Data comes from a CSV file hosted on GitHub Gist, with axes labeled for state and case count.

AI-generated description
MIT Licensed

Similar vizzes