Accepts an optional MPJS dataset which can be used instead of a data url.