A busy scatter plot gets easier to explore when viewers can narrow it down themselves. The Scatter template gives you two interactive options, and you can use either or both:
- A filter lets viewers switch between subsets of the data. It's driven by a column in your data.
- A search box lets viewers find individual points by name. It needs no extra columns at all.
In this article
Adding a filter
To create a filter:
- 1
- In the data tab, add a column from your dataset to the Filter control data binding.
-
- 2
- Switch to the Preview tab. You will be able to see and play around with a filter.
-
- 3
- You might want to add your scatter plot to a story and change the filter in the different slides to animate between the different states.
- 4
-
If you want to customise the filter, we offer a host of options. You can choose between a dropdown, buttons or a time slider filter.
-
You can also add a control title and change the wording of the optional All label.
-
Additionaly, you can opt for the axes to update when filtering.
Adding a search box
- 1
- Head to the Controls settings and turn on Search enabled in the Search section. A search box appears above the chart, and viewers can start typing a point's name to find and highlight it. The search matches against the Name column(s) of your data, so there's nothing extra to set up.
-
- 2
- To fine-tune the search, set the Search placeholder text, choose whether suggestions appear as soon as viewers click with Always show dropdown suggestions, and pick a Search mode: match anywhere in the name, at its start, or against the whole name.
TIP: Filter and search work well together: the filter narrows the chart to a subset, and the search pinpoints a single dot within it.