Question
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:
- True or False, there was an earthquake with a magnitude of 5.0 or greater in Australia?
- In what country was the largest earthquake located in?What was the magnitude?
- 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:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started