Closed mfranke93 closed 2 years ago
This happens because the tooltip is generated in the UI thread, and uses the d3.stack
information to arrive at the counts. For the qualitative mode, these are either 0 or 1...
The quantitative information is all there, though, because of the way the qualitative information is derived from it here. It should be possible to extract it in the tooltip code here accordingly. To keep the code clean and not spread implicit assumptions in two places, it would be good to externalize the key generation code (religion ID plus "a" or "i", or confidence level plus "a" or "i") (here, here, here, here) to a function. This should have happened earlier anyways.
I have to check this later, but noticed it being off.