How to Animate Groups of Points Sequentially in Geometry Nodes Based on Attribute Value?

Hello community, Thank you for your helps so far.

I’m trying to create a bus transit visualization in Blender. I have imported my data into Blender via the CSV importer. and i have converted the vertices points to spheres. Each sphere has an integer number in the trainNO attribute. These numbers represent the sequence of the bus movement.

for example, Nine spheres have sequence 1,3,6,7,9,13,15,18,19 in TrainNO column and And another set of nine spheres has the same sequence: 1,3,6,7,9,13,15,18,19. Now, i want spheres with similar trainNO number to appear and disappear together in sequence like "all spheres with trainNO “1” appear first then disappear for all spheres with trainNO “3” to appear and disappear and so on. I want to achieve this using Geometry Nodes

i have tried to use node like sample index, named attribute, index, scene time. All to no avail.


THIS IS MY BLEND FILE

Hello, can you please clarify what is your end goal?

a) to display the whole train line at the same time

or

b) to display a movement of the train on particular train line

Based on your description, I’m more incline to belive you want to achieve the option a).

The points can be selected based on the trainNo attribute and then scaled up or down.

Thank you. Actually, i made mistakes in the question and the files uploaded. i was supposed to use time attribute instead of TrainNO attribute. i have modified the csv file and the goal has been achieved.

Very happy to hear that. If possible, could you please post your solution so that those who encounter a similar problem can learn from your experience? Thank you.