Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive Component 5702

Public visualization

Viewing a saved revision (read-only)

8b6ce585e47044348f528167b680c069

Interactive Component 5702

0 stars0🌍 Public
Ttianyuhan31
Last edited Dec 15, 2022
Created on Dec 15, 2022

This interactive donut chart visualizes the top 20 most committed crimes in Los Angeles City by case count, displaying the top nine categories alongside an aggregated "Others" slice. Clicking the "Others" arc replaces the main chart with a zoomed view of the remaining crime types, allowing deeper exploration of the dataset. The visualization, built with Vue and D3 v6, uses an SVG-based pie generator and arc generator for rendering, with a Tableau10 color scale, tooltips on hover, and a reset button to return to the main view. The underlying data comes from a JSON file of crime statistics.

AI-generated description

I mapped the top 20 most commited crimes that take place in LA City. You can click on the arc representing 'others' in order to see the rest of the data. Only the top 10 is graphed in the main chart.

Note:Developed from Maeva B‘s template