This is really driving me crazy.
http://www.myethiopia.org/QuickLinks/Stuff/Data/amtigray.html this works in firefox and chrome. I am getting the following errors in IE9. 1. HTML1204: myethiopia.org is running in Compatibility View because 'Display all websites in Compatibility View' is checked. 2. SCRIPT5007: Unable to get value of the property 'prototype': object is null or undefined 3. SCRIPT5009: 'd3' is undefined
2 Answers
I had the same problem. There's a similar question on StackOverflow over here that had the answer for me.
Long story, short, be sure to include these two lines at the top of your HTML:
<!DOCTYPE html> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> That fixed it for me. There are other suggestions at that link that might work for you, too. Good luck!
Comments
This is an issue in d3.v3.js well according to IE it is . The offending line appears to be:
d3_document.createElement("div").style.setProperty("opacity", 0, ""); You'll likely need to modify the d3 library in order to resolve this. There are some answers here that you should review.
I appreciate this is not a complete answer however this is the reason for the error and hopefully will point you in the right direction.