Load data and use Plotly to create the following maps. Each map must have a title and legend respectively

Closed Posted 4 years ago Paid on delivery
Closed Paid on delivery

2. Load [login to view URL] and use Plotly to create the following maps. Each map must have a title and legend.

a. (Figure 1) A Choropleth map showing the 2016 county by county senate election results in the state of Georgia. The map should show the map of Georgia and only Georgia.

i. For each county, compare the columns “demsen16”, “repsen16”, and “othersen16”.

If “demsen16” has the highest number, color the county blue in the map.

If “repsen16” has the highest number, color the county red in the map.

If “othersen16” has the highest number, color the county white in the map.

ii. The border of each county should be black.

b. (Figure 2) Create a similar Choropleth map showing the 2016 county by county house election results in the state of Georgia, using the same color scheme as specified above.

c. You must use Plotly API to create the charts. Do not use Plotly Chart Studio.

3. Load [login to view URL] and use Plotly to create the following map. Every figure must have a title and a legend.

a. (Figure 3) Create a Choropleth map for the 2018 US senate election. The map should show the entire United States. Each state should be color coded. The value for each state is the winning candidate’s vote percentage. Divide the vote percentage into 6 bins and create a color scale for it.

When the mouse cursor hovers over each state, the winning candidate’s name and party affiliation should be displayed in the tooltip window. For example, Wyoming’s 2018 winning candidate was John Barrasso, Repblication. His vote percentage was 136210/203420.

b. You must use Plotly API to create the charts. Do not use Plotly Chart Studio.

4. Load [login to view URL] and use Plotly to create the following map. The map must have a title and legend.

a. (Figure 4) Create a Scattergeo map that shows the location of every Walmart store opened since 2000 (including 2000) in the United States.

b. The map should show the entire United States.

c. If it’s a “Supercenter”, use a dark blue color to fill the marker. If it’s a “Wal-Mart”, use a light blue color.

d. You must use Plotly API to create the charts. Do not use Plotly Chart Studio.

5. Load [login to view URL] and use Plotly to create the following map. The map must have a title and legend.

a. (Figure 5) Create a Scattergeo map showing the number of champions for different countries.

b. The map should show the entire world.

c. Calculate how many Wimbledon champions each country has produced.

d. Place a marker for each country that has produced a champion. Use the latitude and longitude of the capital of the country as the location.

i. You may need to find the latitude and longitude for the capitals yourself.

e. The size of the marker should be proportional to the number of champions this country has produced.

f. You must use Plotly API to create the charts. Do not use Plotly Chart Studio.

6. Write your code in Jupyter Notebook. Submit both your Jupyter Notebook file (or Python code) and a PDF file.

a. You can download your Jupyter Notebook as a PDF.

i. To download your Jupyter Notebook as PDF, you'll need to install MikTeX ([login to view URL]) fist.

ii. Another option is to export/download the notebook to HTML and then convert it to PDF. However, I understand the charts may be cut off during this process.

b. The PDF file must contain all the data visualizations. If you submit files without any data visualization, even if your Python code is correct, you will lose half of the credit.

c. Your Jupyter Notebook and the PDF file should be of the following format:

i. Markdown cell: question number (e.g. Question 1.a) and the requirements

ii. Code cell: your Python code.

iii. Output: the data visualization

iv. Repeat the above pattern for each requirement.

d. . If Jupyter Notebook doesn’t work, you may use Spyder. But you still need to create a PDF file that follow the above pattern: question number/requirements, Python code, data visualization

Software Architecture Python

Project ID: #20301883

About the project

4 proposals Remote project Active 4 years ago

4 freelancers are bidding on average $26 for this job

sharktiger

Good day! I'm a licensed full stack programming developer and designer. I have many experiences in python/Djang and python image processing by using python openCV package. I have many experiences in c#,c++,c,java pro More

$20 USD in 7 days
(6 Reviews)
4.3
adityabisht64

Sir/Madame, I have worked on similar project using matplotlib and am familiar with plotly. Completely the job wouldn't be any issue. Would like to see the csv files and work on it. Looking forward to working with yo More

$20 USD in 5 days
(0 Reviews)
0.0
aritramukh09

Hi, I have hands-on experience in data visualization using matplotlib and plotly. I have already implemented Item#2 in the Project Description. Please get in touch with me for a demo.:) Cheers, Aritra

$45 USD in 5 days
(0 Reviews)
0.0