I have a stacked bar chart whose `<text>` labels will not show on IE, but will on Chrome and Firefox.

The labels I have on the stacked bar charts are part of the axes and the legend. This is how it looks like when the page loads.

[![Screenshot](https://i.stack.imgur.com/z4JXZ.png)](https://i.stack.imgur.com/z4JXZ.png)
The chart's text actually does load, but only after I interact with it. If I do any of the following...

* click/right-click *anywhere* on the chart
* hover over a bar (which triggers a tooltip I've set up to appear)
* resize the window

... the chart's labels on both the legend and the axis appear.

I am using **viewbox**, which may be the issue here, as I know there's some black magic that happens when viewbox and IE are put into the same pot.

**EDIT:** It seems to me that this is a pre-existing issue. See [here](https://stackoverflow.com/questions/24656621/ie11-issue-showing-svg-text-with-d3) and [here](https://stackoverflow.com/questions/34008998/svg-text-disappears-in-ie-until-i-click-on-it).

**UPDATE:** I had to change where it was placed on the page (I did not edit the CSS or the JS), and now the labels show on load but disappear when anything else changes on the window (e.g. completely unrelated event being triggered, window is re-sized etc.). As it was earlier, if I interact with it in any way possible, the labels appear again. Changed the question title to reflect this.

TL;DR:

Before move:

* hidden onload
* shown when given attention (e.g. clicked)

After move: 

* shown onload
* hidden when window is resized
* shown when given attention (e.g. clicked)
* repeat from step 2

Just to avoid confusion, the chart's labels do not hide if I click it after they're already shown, IE seems to get quickly bored of playing peekaboo. However, if I resize the window or change something else on the page, it gets angry for me giving attention to something else and hides the labels again until I click on it or hover over a bar.

**EDIT 2:** Here's what this cursed chart looks like when given the attention it desires.

[![Chart w/ labels](https://i.stack.imgur.com/MhaFX.png)](https://i.stack.imgur.com/MhaFX.png)

**EDIT 3:** Yet [another question](https://stackoverflow.com/questions/34008998/svg-text-disappears-in-ie-until-i-click-on-it?rq=1), and it seems my original thought was right: it is the `viewbox` that's causing this.