{"version":"1.0","type":"rich","title":"Quick 3d plot snippet for 4 series on the same plot","description":"This example shows four distinct data series plotted together in a single three-dimensional scatterplot, with each series assigned a different color (black, red, blue, and green) and a corresponding legend label. The plot uses Matplotlib’s `add_subplot` with the `projection='3d'` option to create the axes, then calls `ax.scatter` four times for the x, y, and z coordinates of each dataset. It sets axis labels via `xlabel`, `ylabel`, and `zlabel`, adds a title, and saves the figure as a PNG using `savefig`. The code comments note that 3D plots are generally discouraged for transferability but useful for exploratory analysis.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-988d76e6d8c3f3bc501a8c13c238addc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}