# Structure data for a tree layout

**URL:** <https://discuss.elastic.co/t/structure-data-for-a-tree-layout/277347>\
**Category:** Kibana\
**Tags:** vega\
**Created:** [June 29, 2021, 12:08pm UTC](https://discuss.elastic.co/t/structure-data-for-a-tree-layout/277347 "2021-06-29T12:08:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Dzmitry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dzmitry/32/65026_2.png) [@Dzmitry](https://discuss.elastic.co/u/Dzmitry)\
**Post date:** [July 2, 2021, 1:33pm UTC](https://discuss.elastic.co/t/structure-data-for-a-tree-layout/277347/2 "2021-07-02T13:33:36Z")

</div>

Hi @sonik ,

If I got it right, you are probably facing a popular Kibana request : [Nested field support](https://github.com/elastic/kibana/issues/1084)

As for Vega and what may build with it, maybe answer to this [question](https://discuss.elastic.co/t/visualization-of-array-vs-array-from-a-single-document/248528) and [vega blog post](https://www.elastic.co/blog/getting-started-with-vega-visualizations-in-kibana) will give you some ideas

Regards, Dima

---

_[View the full topic](https://discuss.elastic.co/t/structure-data-for-a-tree-layout/277347)._
