How Can I Animate a Map in Blender Using Yearly Height Values from a CSV File?

Hello, I want to create an animated map of usa state that changes over time by year.
I have a CSV file imported into Blender with five columns labeled 2022, 2023, 2024, 2025, and 2026. Each column contains values that I want to use as height data for the map at each corresponding year.

The animation should update the map’s height using the values from each year’s column. (the year attributes are already in the group input of geometry node)

I’ve attached an example to the link below.
The creator of the example used daily mobility data as the changing values.

This is my blender file and example of what i want to achieve

Thank you for your help

Here is multiple ways you can animate it, here is one example:

MAP.blend (979.7 KB)

This is exactly what i am looking for. Thank you very much. but i have a question.

what if i have data for 40 years. for example, from 1986 to 2026. is there a way i can manipulate the geometry node without using sample index so many times?

In the example video, there are 103 days. So, using sample index for each 103 days can be so stressful and make the geometry node setup looks crowded and rough. anyway to make it simpler?

You can use strings counting for the named attribute:

Sorry, I am still confused. In your updated setup, I can see 2 math nodes with 2022, 2023. Do I have to add many math node representing each 40 years. I am still confused pls help

No you don’t need any additional nodes, just replace 2022 year number with the lowest year number from your data list, and 2023 with lowest year number +1

Thank you so much. I will try it out.

Moreover, I realise that the animation is slow. Is there a way I can increase the speed of the animation. It looks like the animation is slow

Thank you so much. I later discovered that.

Moreover, I had an issue with the geometry of the maps. There are multiple mesh islands which caused distortion. But @filanek was able to solve the issue for me. THIS IS OUR DISCUSSION
But I want to connect your animation geometry node setup with that of filanek geometry node setup so that I have a well shaped animated map. Is there a way I can make this work?

Thank you for your continuous helps. You guys are geniuses.