An open API service indexing awesome lists of open source software.

https://github.com/koadt/hate-crimes-map

This project aims to visualize hate crime data to bring visibility to crimes that are often invisible or normalized by society.
https://github.com/koadt/hate-crimes-map

data-visualization homophobia mapbox nextjs open-data racism social-impact tailwindcss typescript xenophobia

Last synced: 11 days ago
JSON representation

This project aims to visualize hate crime data to bring visibility to crimes that are often invisible or normalized by society.

Awesome Lists containing this project

README

          

# Hate Crimes Map

[![Version](https://img.shields.io/badge/version-1.4.0-blue)](https://github.com/kOaDT/hate-crimes-map/releases)
[![License](https://img.shields.io/badge/license-Unlicense-green)](LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/kOaDT/hate-crimes-map?style=social)](https://github.com/kOaDT/hate-crimes-map)

![Hate Crimes Map](public/screen-1.png)

A map visualizing hate crime data from around the world. The design is intentionally inspired by pandemic tracking dashboards (like the Johns Hopkins COVID-19 map) - dark background, red circles that grow with the number of incidents. Hate crimes spread through communities like a disease, and we wanted that parallel to be visible.

## Data

Data comes from the [ODIHR Hate Crime Reporting database](https://hatecrime.osce.org/hate-crime-data). If it's outdated, feel free to update it: convert the `.xlsx` to `.json` and drop it in `/public/data/hcrw_incidents_all-report.json`.

**Important**: This data only covers OSCE member states, and reporting varies wildly between countries. Many hate crimes go unreported. Take the numbers with a grain of salt.

This project is not affiliated with OSCE or ODIHR.

## Contributing

Contributions welcome. Update data, fix bugs, suggest features, or submit PRs. Check [CONTRIBUTING.md](CONTRIBUTING.md) for details.

Open source - use it however you want. See [LICENSE](LICENSE) for details.

![Hate Crimes Map](public/screen.png)

## Setup

```bash
git clone https://github.com/kOaDT/hate-crimes-map.git
cd hate-crimes-map
npm install
```

Create `.env.local` and add your Mapbox token:

```
NEXT_PUBLIC_MAPBOX_TOKEN=your_token_here
```

Then:

```bash
npm run dev
```

---