I want to have a d3.js program running in a web dialog for data visualization, but seems the web dialog doesn’t support html5 canvas at the moment (sketchup pro 2017), is this possible in the 2018 version or versions in the near future?
That depends on the version of the operating system-provided browser engine. I was under the impression that e.g. IE12 supports canvas somewhat, but it seems not sufficiently for d3.js.
Then you shouldn’t use
UI::HtmlDialog, which exists not just since 2018 Pro, but 2017 Pro and Make. HtmlDialog uses the browser engine that is now shipped with SketchUp and based on Chromium (which is usually understood as “modern” browser).
Thank you very much! it worked perfectly!