Skip to main content
100%

Final Project Bar Chart 2

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

This bar chart visualizes the total number of victims of police-investigated hate crimes in San Francisco, aggregated by the most serious bias type (e.g., Anti-Asian, Anti-Gay). Using D3 v7, it loads data from a CSV file, aggregates victim counts with `d3.rollups` and `d3.sum`, and renders an SVG with `d3.scaleBand` for the categorical x-axis and `d3.scaleLinear` for the y-axis. The bars are sorted in descending order and hover-highlighted in orange.

AI-generated description
MIT Licensed

Similar vizzes