Time Series Using MongoDB For Pie Chart and Heat Map

Hi Team,
I am using Grafana Community version to build dashboards using MongoDB Data Source, i am unable to plot pie chart and heat map. Can you please send me plugin expected json format for pie chart and heat map, it will very help full for me, Thanks in advance.