Exercise 5
Visualization Quest
All of the following plots must be clear and aesthetically pleasing. Each plots needs a title, axis labels, and a legend.
Part 1
Come up with three functions and overplot them together:
- Each of the three curves must cross each of the others exactly twice (i.e. non-linear functions)
- Mark the crossing points and label each one with text on the plot
- Replot each of the curves in their own separate subplot
Part 2
Read the random_data.csv file and make plots:
- Download the CSV file from here: https://learn-data-science-site.vercel.app/random_data.csv
- Hint: you can do it directly in the terminal with one of these two commands (both may not work on all machines):
wget https://learn-data-science-site.vercel.app/random_data.csvcurl -L https://learn-data-science-site.vercel.app/random_data.csv -o ./random_data.csv
- Hint: you can do it directly in the terminal with one of these two commands (both may not work on all machines):
- Histograms of each variable
- Choose two variables and make a 2D heatmap with
seaborn - A 3D scatter plot of the 3 variables
Secret Word
Please send all your plots to Nadine (nadineb at mpp.mpg.de) via email for the secret word:
- Part 1 plot
- Part 2 plot
- Part 3: All histograms
- Part 3: 3D scatter plot