implemented a basic scatterview