Can .vtk files be used to visualise solutions on 1D meshes?

I have a standard diffusion equation solved using a finite element software on a 1D mesh for the concentration values. Can I visualise this using the .vtk or .vtu files?

Krishna