Due: Friday May 3rd at 11:59pm
Summary: Several people have approached
me because the underestimated or procrastinated on an assignment earlier
in the semester. In this project you you can make up for an assignment *except*
project 8 which is larger than this one. In this project you will examine
home affordability in each state using the most recently available data
(2016.
Because this is a Makeup project, Project 8 will
run concurrently with this project
For this project you *must use the spreadsheets without editing them.* The Median Income as you know is ordered alphabetically by state. The housing data is ordered by property tax rate. You will need to use multiple loops and/or dictionaries to match up the data to do this analysis.
data = [dict(
type='choropleth',
colorscale="BlueRed",
autocolorscale=False,
locations=state_names_Pandas,
z=change_in_income_Pandas,
locationmode='USA-states',
colorbar=dict(
title="Median Income Change in Dollars")
)]
layout = dict(
title='Change in median income for each state',
geo=dict(
scope='usa',
projection=dict(type='albers usa'),
showlakes=True,)
)
fig = dict(data=data, layout=layout)
plotly.offline.plot(fig, filename='comp151-map.html')
Starting this project you need to submit the whole project folder. So name the project itself with your name in the project (jsantoreMakeup for me) and then you can name your python files whatever you want so long as I can tell which python file to run. Remove any old stuff that you don't want me to run.
explain in a readme.txt: