Line Graph with Two Column Table Help

Pictured above is my query to get a count of passes for each resultId in my database. I want a line graph with result id as the x axis and count as the y axis. I have not been able to generate this graph, can someone please help me?