Switching scatterplot to canvas codebase.