I have a glyph that's a series of Circles. I want to click on one point and change the colour / alpha of the unselected glyphs such that each unselected glyph has a custom colour based on it's relationship with the selected point.
For example, I'd want the closest points to the selected point to have alpha near to 1 and the furthest to have alpha near to 0.
I've seen other questions where the unselected glyphs have different alphas, but the alphas are independent of what is selected. Is it possible to do this without using JavaScript?
Edited for more details:
The specific dataset I'm working on is a dataset of a bike sharing system, with data on trips made between specific stations. When I click on a specific station, I want to show the destination stations to which users go to when they start from the station selected. For n stations, the data thus has a n * n format: for each station, we have the probability of going to every other station. Ideally, this probability will be the alpha of the unselected stations, such the most popular destinations would have alpha near to 1, and the less popular ones an alpha near to 0.