scatter plot d3 style, and bugfix multiple loading on first page load