Fork of Fork of Iterate my work - bar chart of crime in India_VER1.3
✓ Published3🌍 Public
LlzlazmSylas
Last edited Oct 11, 2021
Created on Oct 7, 2021
Forked from Iterate my work - bar chart of crime in India
This interactive bar chart displays crime statistics across Indian states for a selected year and crime type. Users choose parameters from two dropdown menus, and the visualization responds by filtering and sorting the data in descending order. The chart uses D3 v7 scales and axes to render horizontal bars, with hover effects that adjust bar opacity. The visualization reads from a CSV dataset containing crimes against women, aggregating values by state and year through the d3.rollups function.
AI-generated descriptionDataset: https://gist.github.com/lzlazmSylas/6be318f1ef48498d10f831bbd78782f3#file-crimes_against_women-csv
X-axis: Number of cases
Y-axis: State
New things:
- Fix bug by filtering the "Year" column and set it to specified year. Now there is no bar staked together.
- Sort the data in descending order.
- Added hover effect to each bar in his visualization.
MIT Licensed