If it's legal, make 100% sure it only has test data.
Still, it's probablly a better alternative to showing code (which is usually owned by the company).
Edit: it apparently isn't legal by looking at the sibling comments :)
It also has the disadvantage of not showcasing the back-end. In my case, most of my work doesn't show on a screen :) .