Back to the dashboardLast revised Dec. 1, 2026

How we built this

A dashboard of every hate crime the NYPD has confirmed since January 2019, built from the department’s public file on NYC Open Data.

The build, step by step

  1. Read the dataset’s column list and pulled every row (4,575 on Dec. 1, 2026) from the NYC Open Data API.
  2. Profiled each column. Found that the file has one row per complaint and arrest, so a complaint with several arrests appears several times: 4,575 rows, 4,217 distinct complaints.
  3. Downloaded the NYPD precinct boundaries (NYC Open Data, y76i-bdw7) and simplified them for the web with a short Python script. All 77 precincts in the hate crimes file matched a boundary.
  4. Wrote the page. It loads the live table from NYC Open Data each visit and falls back to a saved copy if that fails, then does all counting in the browser, so the numbers follow the NYPD’s quarterly updates without anyone rebuilding the page.
  5. Checked the page’s counts against an independent count in Python, and looked at it on a desktop screen and a phone-sized one.

The exact fields, formulas and grouping rules are in the methodology.

Judgment calls

Calls marked “Claude” were made while building and are open to review.

Count complaints, not rows

Decision
Every count is of distinct complaint IDs.
Why
Rows repeat once per arrest. Counting rows would inflate any category with many arrests.
Alternative
Count rows, as a quick tally of the published file would.
Effect
4,217 hate crimes instead of 4,575; 262 complaints had more than one row.
Who decided
Claude

Date each hate crime by when it was reported

Decision
Use the record creation date, not the incident year and month.
Why
Josh’s standing rule for NYPD complaint data: use the report date, which is how the department counts its own statistics.
Alternative
The incident year and month the file also carries.
Effect
47 complaints land in a later year than the incident, a few of them incidents from 2015, 2016 and 2018.
Who decided
Carried over from Josh’s rule for NYPD data

Compare the latest months with a three-year average

Decision
The opening sentence compares January to September 2026 with the average of the same months in 2023, 2024 and 2025.
Why
Josh prefers comparisons with a recent average over a single year-ago figure. Single years swing: January to September 2024 had 535 hate crimes, the same months of 2023 and 2025 about 410 each.
Alternative
Compare with January to September 2025 alone, which would show a rise of 17 percent instead of 6.
Effect
480 against an average of 453: 6 percent more.
Who decided
Claude, following Josh’s rule against year-over-year defaults

Cut every year to the same months in the motive table

Decision
By default the “Who was targeted” table counts January through the latest month (September) for every year. A button shows full years.
Why
2026 has nine months in the file. Beside full years it would look like a drop.
Alternative
Full calendar years with 2026 marked as partial.
Effect
The table’s grand total is 3,264, not 4,217, while the cut is on; the note under it says so.
Who decided
Claude

Group offense codes into ten plain groups

Decision
Sort the NYPD’s offense codes into groups such as “Aggravated harassment, 1st degree” and “Criminal mischief and graffiti.”
Why
The NYPD’s own top-level group “Miscellaneous penal law” hides that 1,123 of its 1,239 complaints are aggravated harassment in the 1st degree, which covers damage to religious property.
Alternative
Show the NYPD’s offense groups as published.
Effect
95 complaints fall into “Everything else.”
Who decided
Claude

An arrest means at least one arrest number

Decision
A complaint counts as having an arrest if any of its rows lists an arrest ID.
Why
The arrest ID is the file’s only record of an arrest. The question readers ask is how many cases led to one, so a complaint with several arrests counts once.
Alternative
Count arrests rather than complaints with an arrest (1,982 distinct arrest IDs).
Effect
41 percent of hate crimes reported from 2019 to September 2026 had an arrest as of Dec. 1, 2026.
Who decided
Claude

Map raw counts by precinct

Decision
Shade precincts by number of hate crimes, not by rate per resident.
Why
The file has no finer location than the precinct. Resident population is a poor base for busy districts like Midtown, where many more people pass through than live. The 14th Precinct, Midtown South, is tied for the highest count.
Alternative
Rates per 100,000 residents, which would inflate precincts with few residents and many visitors.
Effect
The map shows where reports were made, and the text under the heading says counts are not adjusted.
Who decided
Claude

Plain names for motives

Decision
Rename the NYPD’s capitalized labels, for example “ANTI-MALE HOMOSEXUAL (GAY)” to “Anti-gay (male)” and “60 YRS AND OLDER” to “Age (60 and older).” Age and disability are combined as one kind of bias.
Why
Readability. Age and disability together account for seven complaints.
Alternative
Keep the NYPD’s labels. The downloadable spreadsheet keeps them.
Who decided
Claude

Checks run

What this does not do

Change log