UCL-COMP0233-2022-2023 / RSE-Classwork

11 stars 67 forks source link

Plotting the earthquake dataset #17

Open dpshelio opened 2 years ago

dpshelio commented 2 years ago

Your goal is to analyse the same earthquake data as before (#13) and produce two plots, showing:

To help you off, we have suggested an outline of the code. You can change this as you want, or use your own structure.

  1. Choose someone to share their screen and type. The other team members will tell them what to write.
    • Make sure that person has forked the earthquakes repository and cloned their fork locally. They should also give access to the rest of the members.
    • Make a new branch with your combined GitHub usernames, named plots-@username1-@username2-...
  2. If you are not sure you have read the data correctly, you may want to look at the sample solution. You can start from that or from one of your own answers.
  3. Take a few minutes to look at the outline given, and think about how you will structure your code. What steps do you need and how will they connect? Do you want to change the provided functions or add some more?
  4. Write some code to produce one plot.
  5. When you are finished (or have done as much as you can), push your code, and open a Pull Request to the original earthquakes repository. Include the text Answers UCL-COMP0233-22-23/RSE-Classwork#17 in the description to link it to this issue. Add one or both plots if you want!
  6. If you have time, continue with the other plot and add it to the PR!

Some hints:


Sample solution