# How to do a Data driven animation

**URL:** <https://discourse.threejs.org/t/how-to-do-a-data-driven-animation/51656>\
**Category:** Questions\
**Tags:** animation-mixer, custom-data\
**Created:** [May 16, 2023, 6:03pm UTC](https://discourse.threejs.org/t/how-to-do-a-data-driven-animation/51656 "2023-05-16T18:03:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santosh\_Kumar](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/santosh_kumar/32/36317_2.png) [@Santosh\_Kumar](https://discourse.threejs.org/u/Santosh_Kumar)\
**Post date:** [May 16, 2023, 6:03pm UTC](https://discourse.threejs.org/t/how-to-do-a-data-driven-animation/51656/1 "2023-05-16T18:03:41Z")

</div>

Hello all,  
I just started with three.js and I am working on a very tight timeline project.  
I have a scenario where I need to drive animation through some data.

Please guide me through the process to achieve the animation.

- I used GLTF model and animated the model shape using blendshapes.
- I have some data in an Excel sheet.  
I need to change the shape of the model based on the information in the excel sheet.

Thank you in advance.

- Santosh RA

---

<div class="post-metadata">

**Author:** ![mjurczyk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mjurczyk/32/10995_2.png) [@mjurczyk](https://discourse.threejs.org/u/mjurczyk)\
**Post date:** [May 17, 2023, 11:36am UTC](https://discourse.threejs.org/t/how-to-do-a-data-driven-animation/51656/2 "2023-05-17T11:36:24Z")

</div>

What did you try so far? What specific issues are blocking you?

---

<div class="post-metadata">

**Author:** ![Santosh\_Kumar](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/santosh_kumar/32/36317_2.png) [@Santosh\_Kumar](https://discourse.threejs.org/u/Santosh_Kumar)\
**Post date:** [May 20, 2023, 6:37am UTC](https://discourse.threejs.org/t/how-to-do-a-data-driven-animation/51656/3 "2023-05-20T06:37:04Z")

</div>

Thanks mjurczk for replying. TBH I am a designer and have little development knowledge. I tried to bring my vision using some tutorials and combining the knowledge as required. So far, I created a dashboard layout and managed to set up the scene, add gltf model, and animate its blend shape. Alongside this, I have PBI data which has data.

I couldn’t find any dynamic data-driven animation tutorial. so looking for pointers.  
As mentioned I am trying to achieve to animate the blend shape based on values.  
Any small help will really matter to me in this schedule.

Thanks in advance
