Are you thinking about killing yourself? Talk to someone in the U.S. by calling or texting 988
or talk to someone in your country.
This project is a map illustrating the suicide rate of U.S. counties alongside religious attendance rates. Some research suggests there is a corelation, this map was built to help identify areas with the greatest need.
The data is separated by county and shaded based on the counties' suicide rate.
You can click a county to isolate the county's state on the map. Here's Vermont being shown:
To get back to the full map simply press "View All States" from the header. You can share an individual state view's URL with collegues and even modify where the map initially positions itself via the URL parameters: https://suicide-rate-map-explorer.pages.dev/state/12?n=29.234052321428567&w=-82.00889428571429&zoom=5
It's very important that when exporting the CDC file you check the boxes "Show Zero Values" and "Show Suppressed Value." If you do not it will omit the counties that "Suppressed" or "Missing" data giving the illusion of missing data in the plot.
- Plotly React Component Props
- The reason we can't use the WONDER API
- An example WONDER API request body
- CDC WONDER Dataset D76 (you can create an export file here to be used in the Python script)
- Research on dealing with censored data
- Plotly docs for Choropleth Charts
- Plotly docs for Mapbox Chorpleth Charts
- Plotly Chart Colorscales
- Plotly Click Events (Also see the React component docs)