This example shows how to make selections on visualization programmatically.
Get Visualizations
Get Elements
Action:
replace
add
remove
Apply