Closed nkhine closed 11 years ago
It looks like this is a client-side library. According to the example on Google Groups, the HTML generated by D3 is stored in window.document.innerHTML
. You can then pass that into your Blade template.
Closing this issue. You may have better luck posting this question on StackOverflow. Integrating other libraries with Blade is slightly outside the scope of the Github issue tracker.
Thanks.
Hello,
I am trying to render a blade template on the server as i have to generate quite a complex SVG and wanted to do this on the server first, here is what I have so far:
svg.blade
then in my ./routes/svg.js
i am following this example https://groups.google.com/d/msg/d3-js/JyldAkWkTvI/n8thanJeGvAJ of using D3.js with Node.js
any advice on how i can do this much appreciated.