Nearby points can suggest a group, but an apparent cluster in a picture is not a classification rule. A viewpoint can make unrelated observations overlap, and changing the coordinate scale can change how far apart they appear.
Keep any cluster assignment in the data model. The scene should display that result rather than becoming the only place where group membership exists.
Build a deliberate display projection
The 3D scatter page defines SpatialSample and the SpatialScatter Compose component in widgets/spatial_scatter.rs. This helper highlights one existing cluster whilst retaining the other observations as context.
Pass the result to SpatialScatter with a localised title. Enable the three-d feature, validate coordinates and radius, and supply both colours from the active design system. The helper does not compute clusters or reinterpret their identifiers.
Preserve meaning outside colour
Provide the selected cluster's name, member count and observation details outside the scene. Colour can help someone scan the picture, but cannot be the only way to discover which group an observation belongs to.
The legacy scene API does not offer individual sphere picking through ChartInteractionEvent. Use an accessible observation list for selection or a scene interface with an explicit picking contract.
Checks
Test that changing the selected cluster changes styling without moving points or altering group assignments. Inspect overlapping clusters and distant points in a real rendering. The gallery screenshot is a sample spatial distribution, not evidence of a particular clustering algorithm.