Pollutants by state and year

In [1]:
import pandas as pd

df = pd.read_csv("../data/pollution_us_2000_2016.csv")

In [2]:
from os import path
import sys

Users can select year and state of their choice. If you see an error message it means that the data for that year or state is not available. Please try another state or year.

In [3]:

In [4]:
from plot_pollutants import plot_pollutants
fig= plot_pollutants(df, year, state)