Skip to main content
100%

Final Project Bar Chart 1

✓ Published1🌍 Public
Nnathanjmuljadi@gmail.com
Last edited Apr 8, 2025
Created on Apr 8, 2025

This bar chart shows the total number of hate crime victims in San Francisco, aggregated by the suspects' racial group as recorded in the PD-Investigated-Hate-Crimes.csv dataset. The data is processed using `d3.rollups` and `d3.sum` to aggregate victim counts per race, then sorted in descending order and filtered to exclude the three smallest categories. The visualization is rendered as an SVG using `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis, with bars styled via CSS and hover effects.

AI-generated description
MIT Licensed

Similar vizzes