X-ray photoelectron spectroscopy data for anodic nanowire films before annealing, after annealing at 300 degrees Celsius, after annealing at 350 degrees Celsius and after conducting a water treatment to form hierarchical structures. Survey spectra, C1s, Fe2p, O1s and Zn2p scans are included.