In the wake of the COVID-19 pandemic, there has been a disturbing increase in the number of Asian hate crime incidents. In response to these events, a significant movement has emerged to combat Asian hate. To contribute to this cause, we have developed a website aimed at raising awareness about the scale of the issue.
One of our project contributors, Bruce Chen, is a Chinese American, making this issue deeply personal for us. With this website, we intend to present a visual representation of incidents as they occur, utilizing a heat map that displays the locations of "Anti-Asian incidents" reported in various articles. Our goal is to provide information that is both helpful and impactful, shedding light on areas where Asian hate crimes are most prevalent. Through this awareness, we hope to contribute to putting an end to this pressing issue.
- Mapbox API Integration: Utilizes the Mapbox API to provide an interactive map experience.
- Interactive Pins: Allows users to interact with pins on the map, providing details about reported incidents.
- Heatmap Functionality: Displays a heatmap of "Anti-Asian incidents" based on reported locations, offering insights into the prevalence of Asian hate crimes.
You can view the website online by visiting https://asianhateawarenessmap.github.io.
Follow these steps to set up the project locally:
-
Clone the repository:
git clone https://github.com/your-username/stop-asian-hate-incidents.git
-
Open the
index.html
file in your web browser. You can do this by either double-clicking the file or right-clicking and selecting your preferred web browser from the "Open with" menu.
Note: Ensure that you have a modern web browser installed, such as Google Chrome, Mozilla Firefox, or Microsoft Edge.
- Explore the incident heatmap and gain insights into the distribution of Anti-Asian incidents.
We welcome contributions from the community to enhance and improve this project. If you would like to contribute, please follow our Contribution Guidelines.
-
Fork the Repository: Click the "Fork" button on the top right corner of this page. This creates a copy of the repository in your GitHub account.
-
Clone the Repository: Clone the forked repository to your local machine using the following command:
git clone https://github.com/your-username/stop-asian-hate-incidents.git
-
Create a Branch:
git checkout -b feature/your-feature-name
-
Make Changes: Implement your changes and ensure they follow the project's coding standards.
-
Test Locally: Test your changes locally by opening the index.html file in a web browser.
-
Commit Changes: Commit your changes with a descriptive commit message:
git commit -m "Add your descriptive message here"
-
Push Changes: Push your changes to your forked repository:
git push origin feature/your-feature-name
-
Submit a Pull Request: Open a pull request from your forked repository to the main repository.
- Follow the existing code style and structure.
- Provide clear and detailed pull requests.
- Test thoroughly before submitting changes.
This project is licensed under the MIT License.
We would like to express our gratitude to everyone who contributes to raising awareness and putting an end to Asian hate.
Together, let's stand against Asian hate and work towards a more inclusive and compassionate world.