# Kibana Dashboard - Pie chart from two dependent fields

**URL:** <https://discuss.elastic.co/t/kibana-dashboard-pie-chart-from-two-dependent-fields/326625>\
**Category:** Kibana\
**Created:** [February 27, 2023, 6:55pm UTC](https://discuss.elastic.co/t/kibana-dashboard-pie-chart-from-two-dependent-fields/326625 "2023-02-27T18:55:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rvadiga](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rvadiga/32/102601_2.png) [@rvadiga](https://discuss.elastic.co/u/rvadiga)\
**Post date:** [February 27, 2023, 6:55pm UTC](https://discuss.elastic.co/t/kibana-dashboard-pie-chart-from-two-dependent-fields/326625/1 "2023-02-27T18:55:18Z")

</div>

Hi Team,  
I am newbie to Elasticsearch, but trying to make hand dirty.  
Trying to develop a pie chart in Kibana dashboard. Want to know how we can link two fields for generating a pie chart.  
Sample problem statement: Wanted to project the current temperature vs every state within a country. So user can choose any state within a country and determine the percentage deviation from the country's average temperature in percentage.

---

<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:** [March 27, 2023, 6:55pm UTC](https://discuss.elastic.co/t/kibana-dashboard-pie-chart-from-two-dependent-fields/326625/2 "2023-03-27T18:55:43Z")

</div>

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