Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Develop a program that reads and shows the location of the earthquakes found in theall_month.jsonfile on a world map.Since damage occurs to buildings when the

Develop a program that reads and shows the location of the earthquakes found in theall_month.jsonfile on a world map.Since damage occurs to buildings when the earthquake's magnitude is >= 5.0 on the richter scale, only include earthquakes on the world map with a magnitude of 5.0 or greater and that occurred in the Southern Hemisphere. The world map must include the following:

  • A title.
  • Markers that increase in size based on the magnitude and change in color based on the magnitude.
  • A color bar that shows the colorscale used.
  • The markers must display hover text found in the title.
  • You must choose your own colorscale, do not use the colorscale that was used in the video example.The colorscale should plot earthquakes with a higher magnitude in a darker color.

Answer the following questions as comments in your code based on the world map generated by your code:

  1. True or False, there was an earthquake with a magnitude of 5.0 or greater in Australia?
  2. In what country was the largest earthquake located in?What was the magnitude?
  3. What was the magnitude of the largest earthquake in South America? What were it's longitude and latitude?

The program should prompt the user for the file path and name of the .json file that contains the stock information using separate prompts, one for the file path and one for the name of the .json file similar to the sample run of the program.

Here is a sample run of the program:

image text in transcribedimage text in transcribed
\f\f

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions

Question

Design a synthesis of m-bromophenol from benzene. Discuss.

Answered: 1 week ago