Not able to plot Kibana equivalent Visualization of Grafana

I tried to plot the Kibana equivalent graph on Grafana but facing some issue. Can someone pls help me. In kibana I am getting the data for each lable on individual row, while in Kibana I am not able to plot the data for each label on individual row.

Query snapshot for both Kibana and Grafana is attached here for your reference.