A Layered Grammar of Graphics