Show Sidebar Hide Sidebar

3D Scatter Plots in Plotly 2.0

Create a plot that represents the relationship between three variables.

Step 1

Try an Example

A 3D scatterplot graphs the data values of three variables against each other on the x, y, and z axes.

After selecting '3D Scatter' under 'Chart Type', you can check out an example before adding your own data. Clicking the 'try an example' button will show what a sample chart looks like after adding data and playing with the style. You'll also see what values and style attributes were selected for this specific plot, as well as the end result.

Example Scatter

Step 2

Add Your Data to Plotly

Head to Plotly’s new online workspace and add your data. You have the option of typing directly in the grid, uploading your file, or entering a URL of an online dataset. Plotly accepts .xls, .xlsx, or .csv files. For more information on how to enter your data, see this tutorial.

Import data main

Step 3

Create a Chart

After adding your own data, go to GRAPH on the left-hand side, then 'Create'. Choose '3D Scatter' under 'Chart type'.

Choose chart main

Click on GRAPH on the left-hand side to add your values to your graph. After selecting ‘3D Scatter', you should then fill out the X, Y, and Z dropdowns to create the plot.

Values dropdown

This will create a raw 3D scatter plot as seen below.

Raw plot

Step 4

Style a Chart

You can choose your color, text position, or typeface. Click on STYLE on the left-hand side to play around with the style of your plot.

To change the color of the points, click on ‘Traces’ under the same STYLE tab, and choose the color you want. Additionally, this section allows you to change the diameter of the points and also the symbol. Note that certain colors and typeface are only available with a PRO subscription. Click here to upgrade!

Colour main

To add a title to your graph, you can type it directly on the title by double-clicking it. The same can be done for the legend.

Type directly title

Another option is to visit the 'Layout' section under STYLE, click on 'Text' and enter your title in the box, as shown below.

Type in layout panel

For adding axes labels, the 'Text' box is found in the 'Axes' section under STYLE. Note that you have to click on each X, Y, and Z text box to add its own label.

Type directly axis

Step 5

Save and Share

Your plot is now done! Click SAVE on the left-hand side.

Save main

Give your file a name, then select your PLOT and DATA as 'Public' or 'Private'. For more information on how sharing works, including the difference between private, public and secret sharing, visit this page.

Save pop-up

Still need help?
Contact Us

For guaranteed 24 hour response turnarounds, upgrade to our Premium or Enterprise plans.