New to Grafana - Graph

I have a Json data from Elastic search. My data looks like below

Country Jan-17 Feb-17 Mar-17 Apr-17
AUSTRALIA $230.00 $0.00 $0.00 $0.00
AUSTRALIA $0.00 $1,700.00 $1,000.00 $0.00
AUSTRALIA $0.00 $60.00 $0.00 -$780.00
AUSTRALIA $0.00 -$333.00 $0.00 $0.00
AUSTRALIA $1.00 $0.00 $0.00 $1,300.00
AUSTRALIA $2.00 $0.00 $239.00 $0.00
BRAZIL $3.00 $0.00 $0.00 $0.00
BRAZIL $200.00 -$70.00 $0.00 $0.00
BRAZIL $0.00 $0.00 $0.00 $0.00
BRAZIL $0.00 $0.00 $200.00 $0.00
BRAZIL $0.00 $4.00 $0.00 $300.00
BRAZIL $0.00 $90.00 $0.00 $0.00
SINGAPORE $0.00 $800.00 $200.00 $0.00
SINGAPORE $0.00 $0.00 $230.00 $0.00
SINGAPORE $0.00 $0.00 $340.00 $0.00
SINGAPORE $400.00 $0.00 $0.00 -$50.00
SINGAPORE -$600.00 $0.00 $670.00 $0.00
SINGAPORE $0.00 $0.00 $0.00 $0.00

I want to display a Piechart or Barchart. Which shows, Expense by Country.

I have added, the columns, Jan-17 to April-17 in Metrics. And it shows the graph as, “Expense per Month”.

But I need “Expense per month by country”

I have added 2 groupby conditions. It works

Terms - Country.keyword
Date Histogram - @timestamp