So as usual, internet explorer is causing compatibility issues. This time it's my tree diagram built using d3.js. My tree works in other browsers but I get the following error when I load the page in Internet Explorer 11:
SCRIPT5007: Unable to get property '0' of undefined or null reference
with a link to the line that threw the error:
d3.select(this.parentNode.children[0]).attr('height', 21 * (lineNumber + 1));
I have gone through every answer to this question as well as tried using aight.js, but to no avail. I have also tried using the meta tag <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
and updated the d3.min.js script.
The only thing that loads in IE is some very broken, squashed, dysfunctional svg-looking nonsense. Any ideas?
UPDATE
Here is a JSFiddle with my code, as well as the versions of jquery and d3 i'm using.