# Question about data-driven animation

**URL:** <https://forum.lottiefiles.com/t/question-about-data-driven-animation/1228>\
**Category:** Lottie in Web\
**Created:** [July 20, 2021, 8:35pm UTC](https://forum.lottiefiles.com/t/question-about-data-driven-animation/1228 "2021-07-20T20:35:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/mike/32/497_2.png) [@mike](https://forum.lottiefiles.com/u/mike)\
**Post date:** [July 20, 2021, 8:35pm UTC](https://forum.lottiefiles.com/t/question-about-data-driven-animation/1228/1 "2021-07-20T20:35:44Z")

</div>

Ok, so After Effects is able to use JSON files to control animations. Can the data from the JSON (or Excel) file be accessed and updated after exporting with Lottie?

I’m going to attempt to explain an example, so please bear with me:  
Say there is a website that has the real-time score from a baseball game. I have an After Effects project with a data-driven scoreboard animation. I want to export from Lottie and still be able to access data-driven expressions, like sourceText, and update them automatically from the real-time source. Is this possible through Lottie and Javascript? Or a clever workaround?

Thanks

Edit:  
I just found this article and I’m hoping this is heading in the right direction  
[https://lottiefiles.zendesk.com/hc/en-us/articles/900000537666-How-to-add-interactivity-to-my-animation-](https://lottiefiles.zendesk.com/hc/en-us/articles/900000537666-How-to-add-interactivity-to-my-animation-)
