Possible to Wipe a Nexus 4 with a broken Screen?

I have a Nexus 4 which I will no Longer be using as the screen is broken. I would like to wipe it so none of my data is on it. Can this be done via a Mac? I haven't found a way yet through googling.

Any help appreciated.