Analyze and visualize regional crime patterns using K-Means clustering in a clean Flask-based web interface.
Backend:
Frontend:
Visualization:
Dev Tools:
This app helps stakeholders identify crime-prone zones and allocate resources more efficiently based on data-driven insights.
Here red cluster indicates low crime rate, green cluster indicates a moderate crime rate, and the blue cluster indicates a high crime rate. Hence from the clustering analysis, we can easily identify the cities having a high risk of criminal activities and take necessary action.
Cluster | Average Murders | Average Thefts | City Count |
---|---|---|---|
Cluster 0 | 53.21 | 567.66 | 465.0 |
Cluster 1 | 233.0 | 11691.75 | 12 |
Cluster 2 | 83.0 | 2421.33 | 63.0 |