Scatter scatter chart/refactoring