thx Mark
was worth a try
lost 1 hour dicking with this
I can get anychart to work easily.
d3 however...
i tried 4 other d3 charts as well - no joy
but back to yours
you can see here from Chrome web inspector

BOTH D3 js files are found/loaded properly
yet the d3pie function cannot be found. - see the error msg?
even so, this doesn't solve a main issue - how do you take a d3 example from the gallery - one that uses a hard reference to an external file LIKE MOST of them do - and make it use embedded data.
I tried 2 charts that did use a CSV, and the render script CAN find the file, but then I get transform errors LOADING THE EXACT FILE FROM THE DEMO - it complains about expecting a number and found text or some such crap. total pain in the ass.
(I also want to say that I did not load your BSV - but since I was familiar with doing this in anychart, I was able to make the static HTML and the RenderScript from your info. I do not like loading a bunch of BSVs into my production MS SQL SERVER db because I don't like all the files it creates. I use SMSS a ton, and I don't want all that extra crap to scroll through in my explorer listing.)