An Implementation of the Grammar of Graphics