- Home /
d3 chart to unity?
Hi, is there a way to display d3charts(https://github.com/mbostock/d3/wiki/Gallery) in Unity?? I'm working on a project that requires me to display such chart with data into Unity. Thanks alot.
Answer by mattssonon · Nov 13, 2013 at 09:08 AM
d3 requires the W3C DOM API, i.e. some kind of web interface, so you need a third-party plugin or script to achieve this. Some examples:
UnityWebCore allows you to embed HTML pages as textures, but it's only for Windows: http://forum.unity3d.com/threads/83071-Unity3d-plugin-for-embedding-webpages-on-WINDOWS-is-ready!
uWebKit enables dynamic web content in your project. While not free, it looks quite professional: http://uwebkit.com/uwebkit/
Another user-created plugin, htmlTexture allows you to show HTML content as a texture: http://forum.unity3d.com/threads/4990-htmlTexture-plugin
A tutorial using Awesomium: http://labs.awesomium.com/unity3d-integration-tutorial-part-1/
Hi thanks for your knowledge! but currently im trying the uWebkit,any idea if it display my own html pages ins$$anonymous$$d of those online one like google.com & etc.
I haven't looked into how uWebkit works, but if you're building for Unity Web Player, you could probably locally host the web files together with the compiled Unity package. Or you could simply host the d3 site remotely, on the Internet.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Can't modify Imported Object settings 0 Answers
Using Multiple Tiles for Textures 0 Answers
Model import problem 2 Answers
Why does certain sides of my building disapear at certain angles? 2 Answers