Show Sidebar Hide Sidebar

Text Scatter Charts in Excel

Text Scatter Charts in Excel

Step 1

Upload your Excel data to Plotly's grid

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

Excel view

Step 2

Head to Plotly

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

Import data

Step 3

Creating Your Chart

Once you've loaded the data in Plotly, select 'Scatter plot' from the MAKE A PLOT menu. Look for the 'text' option in the sidebar. This will enable you to select columns that associate text with corresponding data points. For each group of data that you want to plot, you'll need to select a column of x-values, a column of y-values, and a column for the text labels. When you're finished, click on the blue 'Scatter plot' button in the sidebar.

Grid

Your plot would initially look something like this.

Original

To add text labels, open the 'Traces' popover by selecting TRACES from the toolbar. You can add labels to an individual trace by selecting that trace from the dropdown menu, or select 'All traces (scatter)' to label all the points in your scatter plot. Here we position the labels on individual traces in order to avoid overlapping labels. We start with Col1. In the 'Mode' tab, look for 'Lines/Markers' and select the option of text over a point.

Text Labels

To position the labels, click on the 'Style' tab in the 'Traces' popover. In order to have the lables appear directly above the data points, click on the arrow that points up in the '…Position' option.

Position Labels

Repeat this process for Col4 and Col7. For Col4, we position the text labels below the scatter points. For Col7, we position them above the scatter points.

Position Labels2

Step 4

Finalizing Your Graph

Your graph should now look something like this.

Final

To make your scatter points all have the same color, head to TRACES, then in the drop down menu select the tab called 'All traces (scatter)'. Go to the 'Style' tab and set the marker color to your liking.

Styling

You can label your axes by clicking on the 'Click to enter X axis title' and 'Click to enter Y axis title' on your graph. The finished product should look something like this.

Titles

We used a note to link to our source data. You can download your finished Plotly graph to embed in your Excel workbook. We also recommend including the Plotly link to the graph inside your Excel workbook for easy access to the interactive Plotly version. Get the link to your graph by clicking the 'Share' button. Download an image of your Plotly graph by clicking EXPORT on the toolbar.

Export

To add the Excel file to your workbook, click where you want to insert the picture inside Excel. On the INSERT tab inside Excel, in the ILLUSTRATIONS group, click PICTURE. Locate the Plotly graph image that you downloaded and then double-click it. Notice that we also copy-pasted the Plotly graph link in a cell for easy access to the interactive Plotly version.

Excel workbook

Still need help?
Contact Us

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