after you execute your query, you need to present only a single value from that query - bar chart does not support plots in time, so you need to know if you want to present last value, max value, min value, etc.
To do the chart you have to:
Reduce the time series data to a single value as I mentioned before, using Reduce transformation:
To get the “GET: endpoint1” label, you need to either do that in your query (I’m not sure if it’s possible in vanilla PromQL) or use transformation Add field from calculation where you will add the two text fields.
Group the data to matrix (data format that bar chart requires), where the rows will be the data on X axis (in your case - endpoint) and the columns represent the data on the bars (in your case - statuses). Use Grouping to Matrix transformation (notice that in my screen I had route == endpoint and status == httpStatusCode):