# Custom Visualisation using Vega for creating Tag Clous

**URL:** <https://discuss.elastic.co/t/custom-visualisation-using-vega-for-creating-tag-clous/318506>\
**Category:** Kibana\
**Tags:** vega, kql-kibana-query-language\
**Created:** [November 9, 2022, 6:00am UTC](https://discuss.elastic.co/t/custom-visualisation-using-vega-for-creating-tag-clous/318506 "2022-11-09T06:00:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shashank02](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shashank02/32/99866_2.png) [@Shashank02](https://discuss.elastic.co/u/Shashank02)\
**Post date:** [November 9, 2022, 6:00am UTC](https://discuss.elastic.co/t/custom-visualisation-using-vega-for-creating-tag-clous/318506/1 "2022-11-09T06:00:28Z")

</div>

I need some help regarding building a custom Vega Tag Cloud. So, my idea here is that we are giving scores to some of the words. So, if a word is negative it should show red color and if it is positive it should show green and if it is neutral it should show yellow. But, I and my team don't know how to build one. Need someone to help us in building a custom visualization Tag Cloud.

---

<div class="post-metadata">

**Author:** ![ninoslavmiskovic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ninoslavmiskovic/32/113140_2.png) [@ninoslavmiskovic](https://discuss.elastic.co/u/ninoslavmiskovic)\
**Post date:** [November 9, 2022, 11:25am UTC](https://discuss.elastic.co/t/custom-visualisation-using-vega-for-creating-tag-clous/318506/2 "2022-11-09T11:25:22Z")

</div>

Hey @Shashank02

Here is some information on how to set up a word-cloud using Vega.

[Word Cloud Example | Vega](https://vega.github.io/vega/examples/word-cloud/) (If you copy and paste this one in the Vega Editor in KIbana, then you will be able to start playing with it and configuring it)

> **[Wordcloud Transform](https://vega.github.io/vega/docs/transforms/wordcloud/)**
>
> Vega - A Visualization Grammar. Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. With Vega, you can describe the visual appearance and interactive behavior of a visualization...

Elastic Vega documentation: [Vega | Kibana Guide [8.5] | Elastic](https://www.elastic.co/guide/en/kibana/8.5/vega.html)

Hope this helps you on moving forward with your task.

Best regards,

Ninoslav

---

<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:** [December 7, 2022, 11:25am UTC](https://discuss.elastic.co/t/custom-visualisation-using-vega-for-creating-tag-clous/318506/3 "2022-12-07T11:25:43Z")

</div>

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