@Leily,
You did not mention which version of JMP that you currently use. In the latest version, JMP 15, Graph Builder with a Local Data Filter is only partially implemented. For example, using the JMP Sample data table Students, while an active window in JMP, when I select an age group, the graph points elements are dynamic. If saved as interactive HTML, however, other elements like a smoother is not. Below is a graphbuilder plot using age as an X Group. In JMP, only the item I selected and its smoother is shown; with interactive HTML, the non-dynamic elements are fixed. More discussion below the pictures.
In JMPInteractive HTML
If you only have point elements, then try this script. The key is to select all items in the list, then save the graph as interactive HTML. Then on the web you can select the points. Note the legend and note (the where statement) are not dynamic. See the HTML output below the script. Given that, there are multiple methods to create a web view to select a picture.
Please provide a few more details, like which JMP version you use, and whether your selection list is long, do you want all views in a horizontal list, or only one view at a time, etc.
Names Default to Here(1);
dt = open("$Sample_Data/Students.jmp");
graph = dt << Graph Builder(
Size( 534, 456 ),
Show Control Panel( 0 ),
Variables( X( :height ), Y( :weight ), Overlay( :age ), Color( :age ) ),
Elements( Points( X, Y, Legend( 152 ) ) ),
Local Data Filter(
Add Filter(
columns( :age ),
Where( :age == {11, 12, 13, 14, 15, 16} ),
Display( :age, Size( 178, 102 ), Height( 102 ) )
)
)
);
graph << save as interactive html("c:/temp/point_selection.htm");