If you have many different points in your scatter plot, displaying all of their labels at once might look a bit messy and confusing. Take this example:
To reduce the clutter, there are several options: You can use the label priority setting, you can opt for a selective label mode, which will only show certain dots that you select when you add your visualization to a story. The final option is to use annotations. This help doc will walk you through all three options.
In this article
- 1
- Label priority
-
With the label mode set to auto, add the names of the labels you would like to appear in the Label priority box. Then select Only show labels on 'Label priority' list. If the labels still look cluttered you can select the option Hide overlapping labels, labels will then be drawn in the order you set in your list, avoiding overlaps. If you have a large number of labels and just want to remove a few of them it may be easier to use the Hide labels box.
- 2
- Selective labels
- Selective labels are great when you would like to choose which labels to show and don't want to have to add each one manually. Here's an example:
-
Next, in the Dot labels settings, select to show labels on points and then select Selective (story only).
-
TIP: We recommend disabling your popups in the Popups settings before selecting the labels in your story. This makes adding the selective labels in the next step easier, as the popups won't interfere when you click on them in the story editor. You can enable them again after setting your selective labels in the next step.
-
Finally, add your visualization to a story by clicking Create a story in the top right corner. Once you're in the story, you can click on the points that you'd like to display a label, and the label will appear. Clicking on the same point a second time will make the label disappear again.
- Once you have placed your labels, you might want to enable the popups again. To do this, click through to the underlying visualization via the "Current slide" button. Other things you might want to change include:
-
- the styling, alignment, and placement of labels – to learn more about this, head over to this help doc
- removing the story navigation – this is useful if you only have one slide. Here's more on that topic.
- 2
- Annotations
- Another way to add selective labels to your scatter plot is through annotations. With annotations, you have full flexibility over positioning and styling, but you will have to add each label manually. It is therefore only recommended when you would like to add less than five labels. Here's an example of the same scatter plot with annotations:
-
You can add annotations by adding your visualization to a story and clicking on the pen icon to add and edit them. Note that this will work best if you don't have labels or selective labels enabled.
- To learn more about adding annotations to your scatter plot, head over to this help doc. Other things you might want to change include:
-
- coloring parts of your annotation text through custom HTML. You can learn more about this here.
- removing the story navigation – this is useful if you only have one slide. Here's more on that topic.