chemiscope
chemiscope copied to clipboard
Filter points by property values
Instead of displaying the full dataset in the map all the time, we could give the user the ability to filter which points to show based on the property values (e.g. energy < 345
).
The filtered-out points should not be removed, but rather dimmed out/greyed on the map, so that selecting an environment from the structure or the slider still works.
The hard question is how the user would input the filters. A first version can use range filters like
[ MIN ] <= [ $property ▼] <= [ MAX ]
with MIN
and MAX
number input and $property
a dropdown select element.
Then a second step would be to combine range filters on different properties with or/and.
Another solution would be to have a selection language, but this might be overkill.