Visualization of Red Tide in the Gulf of Mexico

Posted on Aug 12, 2019

The skills we demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

The Red Tide Visualization App. (App is down for minor editing) offers a quick, interactive snapshot of harmful algae bloomsor 'Red Tide,' observed in the Gulf of Mexico from 2000 to 2018.  This app allows the user to examine 6,000 algal blooms recorded by the National Oceanic and Atmosphereic Association's harmful algae bloom observation system and their corresponding water temperatures, water salinities, and cell counts by year.

 

Red Tide Visualization App

Introduction

Kerenia brevis is a species of microscopic algae that lives almost exclusively along the coasts of the Gulf of Mexico. In recent years, however, larger then normal blooms of the algae have been observed along the gulf coasts of Florida, Texas, and has been detected along the atlantic coast as far north as North Carolina. While algal blooms may seem trivial, blooms of Kerenia brevis, commonly referred to as 'Red Tide,' have detrimental effects on local marine life and human life.

Red Tide not only depletes the ocean of oxygen, suffocating nearby fish and plant life, it also releases a type of neurotoxin called a brevetoxin. These toxins interfere with nerve transmission and also cause immune depression, bronchial constriction, and haemolysis (1). Brevetoxins represent one of the most common environmental stressors impacting the areas in which they are released. The consequenses of brevetoxins include massive fish and marine mammal kills, increased sea turtle and sea bird mortality, as well as decreased plant and coral life in areas where toxins are present.

Red Tide

It is not recommended to swim in areas that are being threatened by Red Tide because of the dangers associated with brevetoxins, however, even out of the water humans are vulnerable to their harmful effects. Brevetoxins can contaminate seafood and can also be broken up by the natural movement of the ocean and aerosolized, which can cause respiratory irrtation for those living near a bloom. Finding a way to control harmful blooms of Kerenia brevis is important for maintaining a healthy ocean and coastal environment in areas that are most effected.

The purpose of this shiny app is to offer a simple visualization of common locations of Red Tide blooms from 2000 to 2018 and some associated characteristics. In the future, more in depth analyses will be conducted to explore the statistical relationships between large Kerenia brevis blooms and environmental conditions like water temperature and salinity. 

Data Visualization 

Data were collected from the National Oceanic and Atmosphereic Administration's (NOAA)  harmful algal blooms observing system which is a distribution system for harmful algal bloom (HAB) information. The dataset includes algal cell counts, water temperature, water salinity, loction, and date time associated with HABs observed in the Gulf of Mexico beginning in August 1953 (N > 100,000). Below is a map generated by the NOAA of the data points associated with this set.

The data were imported into R and cleaned using dplyr and tidyverse. This app focuses of visualizing high cell count blooms (cells/L) of Kerenia brevis and their associated

  • Water Temperature (Degrees F)
  • Salinity (ppt)
  • Location ( latitude and longitude)
  • Year of measurement

Due to a high number of missing values in earlier years, only observations made after the year 2000 were included in this application. The data set was reduced further because of missing water temperature values for many HAB observations. The resulting data set had 6,000 HABs with complete information on the above factors of interest. 

Visualization App Features

With the cleaned data, the shiny app was built using multiple data visualization packages offered in R.  To explore common Red Tide locations, latitude and longitude points from the data were used to plot exact locations of each bloom on an interactive leaflet map pictured below.  The map allows the user to see all of the algae blooms recorded in a given year and learn more about the environmental conditions associated with a given bloom by hovering over a specific point.

Interactive map

The 'Explorer' panel (pictured below) allows the user to select a year of interest or to animate across the years to quickly see changes in HAB characteristics by year. The panel also includes a plot, generated using ggplot2 in R, that easily summarizes the salinity levels associated with high cell counts. Interactive plotly plots will be added once the app is updated. 

 

Explorer panel

Future Visualization Additions

While the app does offer an easy visualization of the charactaristics of HABs oberved in the Gulf of Mexico from 2000 to 2018, it does not give any visualization of statistical relationships between large cell counts, water temperature, and salinity. In the future, more tabs and analyses will be added to the app to give a better representation of the factors that contribute to the increase in size and frequency of Red Tide blooms in the gulf. 

 

 

Interested in the code? Visit my Github by clicking HERE!

 

 

References:

(1) Pierce RH, Henry MS. (2009). Harmful algal toxins of the Florida red tide (Karenia brevis): natural chemical stressors in South Florida coastal ecosystems

About Author

Laura Elliott

Laura Elliott is an experienced data analyst and epidemiologist who specialized in the distribution of mental health disorders, specifically adolescent anxiety. Now pursuing data science, Ms. Elliott intends to improve business practices through her extensive knowledge of mental...
View all posts by Laura Elliott >

Related Articles

Leave a Comment

Laura Elliott August 26, 2019
I apologize, the app has been taken down for some editing. I will make sure to update the link on my blog. I will let you know when the app is back up
Molly August 16, 2019
The link to the app isn't working. How do we access the app?

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI