Show Sidebar Hide Sidebar

3D Scatter Plot Example (Diamond Quality Chart)

3D Scatter Plots with Chart Studio

Step 1

Upload your Excel data to Chart Studio's grid

Open the data file for this tutorial in Excel. You can download the file here in CSV format

Open data in excel

Step 2

Head to Chart Studio

Head to the Chart Studio Workspace and sign into your free Chart Studio account. Go to 'Import', click 'Upload a file', then choose your Excel file to upload. Your Excel file will now open in Chart Studio's grid. For more about Chart Studio's grid, see this tutorial

Import data

Step 3

Creating the Scatter Plot

Select '3D Scatter Plots' from the MAKE A PLOT button on menu bar.

Select Chart Type

Enable the Group By Option and Text Option from the toolbar, and select the headers as shown in the figure. Finally click on Plot Button to generate the plot

Create Chart

Step 4

Finalizing the Plot

We will now add some style elements to the generated plot.

Raw Plot

Styling options are present on the left side of the plot. To set the background color, (1) Click on the 'Axis' selector on the options menu on the left side of the plot, (2) Click on the 'Lines' tab from the pop-up, (3) Set 'Background' to 'On', and (4) Select background color from the color pallete.

Background Color

Axes and Grid: Go to 'Lines' tab from 'Axis' Selector. (1) Set Grid Lines to 'On' and select white color from pop-up, (2) Set Zero Lines to 'On' and select white color from pop-up

Set Axes and Grid Color

Markers:Go to 'Traces' Popover. Select 'All Traces' from the dropdown, Select '8' from the 'Marker' option.

Set Markers

Colorways:To set a colorway, Go to 'Traces' popover. Select 'All Traces' from the dropdown, and select 'Blues' colorway from the 'Marker Color Pallete' option:

Set Colorways

Step 5

Exporting the final chart

The final plot should look something like this:

Finished Plot

You can export the finished plot to embed in the excel notebook. We also recommend adding the Chart Studio link to the excel for easy access to the interactive version. To get the link to the chart, click on the 'Share' button. To export the chart, as an image, click on 'EXPORT' button on the toolbar.

Share Button

To add the Excel file to your workbook, click where you want to insert the picture inside Excel. On the INSERT tab inside Excel, click PICTURE. Locate the Chart Studio graph image that you downloaded and then double-click it: