The line on this graph is set to have a slope of the current pi approximation, which is stored in stats. Occasionally, stats do not come back quickly enough to generate the line while the graph is being rendered. This results in no line on the graph. Stats are retrieved via a socket from pi-be in the Home component. The components and files are as follows: CvsDScatterplot is rendered in Home. CvsDScatterplot calls the function makeCvsDScatterplot which is in the d3 folder, helpers file. To replicate the issue, continue refreshing the page until the line doesn't show up.
The line on this graph is set to have a slope of the current pi approximation, which is stored in stats. Occasionally, stats do not come back quickly enough to generate the line while the graph is being rendered. This results in no line on the graph. Stats are retrieved via a socket from pi-be in the Home component. The components and files are as follows: CvsDScatterplot is rendered in Home. CvsDScatterplot calls the function makeCvsDScatterplot which is in the d3 folder, helpers file. To replicate the issue, continue refreshing the page until the line doesn't show up.