# Create user journey graph using vega

**URL:** <https://discuss.elastic.co/t/create-user-journey-graph-using-vega/337255>\
**Category:** Kibana\
**Tags:** vega\
**Created:** [June 30, 2023, 5:19am UTC](https://discuss.elastic.co/t/create-user-journey-graph-using-vega/337255 "2023-06-30T05:19:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neelam\_Zanvar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/neelam_zanvar/32/103116_2.png) [@Neelam\_Zanvar](https://discuss.elastic.co/u/Neelam_Zanvar)\
**Post date:** [June 30, 2023, 5:19am UTC](https://discuss.elastic.co/t/create-user-journey-graph-using-vega/337255/1 "2023-06-30T05:19:12Z")

</div>

Hi I would like to create a user journey visualization from the index which has a user token and the url field. I would like to visualize the various url visited by every token in that index, as a sequence diagram or similar. is it possible?

---

<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:** [June 30, 2023, 9:23am UTC](https://discuss.elastic.co/t/create-user-journey-graph-using-vega/337255/2 "2023-06-30T09:23:19Z")

</div>

Hi @Neelam_Zanvar

from the description perhaps a [Sankey diagram](https://datavizcatalogue.com/methods/sankey_diagram.html) could be helpful here.  
But first, to be sure, it would be great to sketch down a simple example of the visualization you had in mind. Even a picture of what you'd expect would make it clearer for us to help you.

---

<div class="post-metadata">

**Author:** ![Neelam\_Zanvar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/neelam_zanvar/32/103116_2.png) [@Neelam\_Zanvar](https://discuss.elastic.co/u/Neelam_Zanvar)\
**Post date:** [July 4, 2023, 5:12am UTC](https://discuss.elastic.co/t/create-user-journey-graph-using-vega/337255/3 "2023-07-04T05:12:29Z")

</div>

Hi,  
Here is the current visualization in table form

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/3/a3facf9a98c675bd6f59a03ed81cf959df684fa7.png)

I would like to create a user journey diagram displaying all the url visited by a particular token along with the timestamp. token, url and timestamp is there in the table. i want to use these fields

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 1, 2023, 5:12am UTC](https://discuss.elastic.co/t/create-user-journey-graph-using-vega/337255/4 "2023-08-01T05:12:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
