Since #2835, https://microsoft.github.io/STL/ uses Primer CSS to colorize the charts. I believe that, since the stylesheet and the script that draws the charts are fetched through separate network requests, it may happen that the script is loaded and executed before the stylesheet finishes loading, in which case everything in the chart will be black.
That's probably why @h-vetinari finds the lines invisible in dark mode (#2845 (comment)).
Once the stylesheet is loaded, it is stored in the browser cache, so it's less likely to see this problem after the page is refreshed.