I want to create a scatterplot with matplotlib and a simple pandas dataframe. Have tested almost everything and nothing works and honestly I have just now ordered a book on matplotlib.
Dataframe looks like this
Time Type Price Volume
0 03:03:26.936 B 1.61797 1000000
1 03:41:06.192 B 1.61812 1000000
2 05:59:12.799 B 1.62280 410000
3 05:59:12.814 B 1.62280 390000
4 06:43:33.607 B 1.62387 1000000
5 06:43:33.621 S 1.62389 500000
6 06:47:36.834 B 1.62412 1000000
7 08:15:13.903 B 1.62589 1000000
8 09:15:31.496 S 1.62296 500000
9 10:29:24.072 S 1.61876 500000
10 10:49:08.619 S 1.61911 1000000
11 11:07:01.213 S 1.61882 1000000
12 11:07:01.339 S 1.61880 200000
13 11:23:00.300 S 1.61717 1000000
Type B should be green in color and Type S Blue and dots should be different in size depending on volume! Any idea how to achieve this or a guide somewhere?