Add a legend in a 3D scatterplot with scatter() in Matplotlib

Add a legend in a 3D scatterplot with scatter() in Matplotlib

More to explore

Based on this image's title: “Add a legend in a 3D scatterplot with scatter() in Matplotlib