first bits towards canvas-based scatterplot