# Gantt chart with Vega using live data index

**URL:** <https://discuss.elastic.co/t/gantt-chart-with-vega-using-live-data-index/363451>\
**Category:** Kibana\
**Tags:** vega\
**Created:** [July 19, 2024, 6:35pm UTC](https://discuss.elastic.co/t/gantt-chart-with-vega-using-live-data-index/363451 "2024-07-19T18:35:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seena\_Taravati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seena_taravati/32/125365_2.png) [@Seena\_Taravati](https://discuss.elastic.co/u/Seena_Taravati)\
**Post date:** [July 19, 2024, 6:35pm UTC](https://discuss.elastic.co/t/gantt-chart-with-vega-using-live-data-index/363451/1 "2024-07-19T18:35:38Z")

</div>

Hi all,  
I am trying to build a gantt chart using vega for a sequence of test ran. We have ingested all the data into a index but I am having a hard time trying to plot the gantt chart. We have the start and end times for each test. I want to plot the chart to show on the Y - test name and on the x the start and end time for each test. because this is live data i could use avg of that incoming data.

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [July 22, 2024, 9:12am UTC](https://discuss.elastic.co/t/gantt-chart-with-vega-using-live-data-index/363451/2 "2024-07-22T09:12:43Z")

</div>

You can find some Vega guidance to build a Gantt chart type in this thread: [Gantt chart on Kibana using version 7.11](https://discuss.elastic.co/t/gantt-chart-on-kibana-using-version-7-11/265917)

---

<div class="post-metadata">

**Author:** ![Seena\_Taravati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seena_taravati/32/125365_2.png) [@Seena\_Taravati](https://discuss.elastic.co/u/Seena_Taravati)\
**Post date:** [July 23, 2024, 6:01pm UTC](https://discuss.elastic.co/t/gantt-chart-with-vega-using-live-data-index/363451/3 "2024-07-23T18:01:13Z")

</div>

Hi Marco,  
So I was using that thread to understand how to use it but I am still not able to get the data to show up from my index: My chart is completely empty.

Edit- In that thread they are using static data but I am trying to full from a Index in Elastic search

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [July 24, 2024, 7:24am UTC](https://discuss.elastic.co/t/gantt-chart-with-vega-using-live-data-index/363451/4 "2024-07-24T07:24:29Z")

</div>

Static data was adopted only in the last part of the thread to simplify the Vega mapping process.  
In the initial template the `url` property was used: [Gantt chart on Kibana using version 7.11 - #2 by Marco\_Liberati](https://discuss.elastic.co/t/gantt-chart-on-kibana-using-version-7-11/265917/2)
