Question

Ultimately, I am trying to use D3js.org in a SharePoint 2010 CEWP to visualize some data. However, after loading a script I just get a blank web part. I can successfully run jQuery in CEWP so I assume I am setting everything up correctly.

I've narrowed it down to what I think is an issue with SharePoint 2010 displaying SVG images correctly as I cannot display a simple SVG from the below script. I am aware that D3 is dependent on SVG functionality. I am running IE11. Any help would be hugely appreciated and please go easy on the explanation, I'm a bit of a noob. SVG code:

Was it helpful?

Solution

You can change document mode to IE9. Add below to your master page

<meta http-equiv="X-UA-Compatible" content="IE=9">
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top