# Scatter plot which uses data source from Enhanced table on Dashboard

**URL:** https://discuss.elastic.co/t/scatter-plot-which-uses-data-source-from-enhanced-table-on-dashboard/290871
**Category:** Kibana
**Created:** [December 3, 2021, 10:54am UTC](https://discuss.elastic.co/t/scatter-plot-which-uses-data-source-from-enhanced-table-on-dashboard/290871 "2021-12-03T10:54:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Michael\_Ubry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_ubry/32/98104_2.png) [@Michael\_Ubry](https://discuss.elastic.co/u/Michael_Ubry)
#### Post date: [December 3, 2021, 10:54am UTC](https://discuss.elastic.co/t/scatter-plot-which-uses-data-source-from-enhanced-table-on-dashboard/290871/1 "2021-12-03T10:54:26Z")

</div>

Hi,

I have Enhanced table plugin installed and I created pivot table which is visible on Dashboard. Underneath, I would like to have scatter plot which would be using data source not from index but from this pivot table. Is it possible to do it?

I see there could be solution to export data table to CSV and then import it again to new index which I would use for scatter plot, but this is not user friendly and I need it for client to have it simple as in Excel.

Thank you.

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [December 4, 2021, 6:04pm UTC](https://discuss.elastic.co/t/scatter-plot-which-uses-data-source-from-enhanced-table-on-dashboard/290871/2 "2021-12-04T18:04:37Z")

</div>

You can show a scatterplot in Kibana using vega: [Scatterplot in Kibana using Vega » Tim Roes](https://www.timroes.de/kibana-vega-scatterplot)

The linked example uses raw documents but as you can control the Elasticsearch query directly, it's also possible to run aggregations corresponding to the pivot table you configured and feed that into the scatter plot.

---

<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: [January 1, 2022, 6:05pm UTC](https://discuss.elastic.co/t/scatter-plot-which-uses-data-source-from-enhanced-table-on-dashboard/290871/3 "2022-01-01T18:05:06Z")

</div>

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