reworking the dataviz exmaples