A teenager has been arrested after several businesses, parts of a playground and a GP surgery were left covered in obscene graffiti.