I am performing anomaly detection using K-Means. I am working with only one column, plotting those values and then within this column I am adding some anomalies.

[![enter image description here](https://i.stack.imgur.com/dQsC0.png)](https://i.stack.imgur.com/dQsC0.png)

**My question is** 

if it is possible to perform confusion matrix for this ? If so what is the approach ?
Asking this since I have seen that confusion matrix needs y axis and x axis