merge the two data objects and svgs into one