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
sys.path.append(path.abspath('../tests'))

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]:
year="2000"
state="Arizona"

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



In [ ]: