Search code examples
rwordpressgooglevis

Unable to display googleVisMotion chart in Wordpress,Rpubs & Rmd file


I am unable to display googleVisMotion Chart in Wordpress,RPubs or as RMarkdown. The googleVisMotion Chart works locally on my computer but I am unable to get it to display anywhere else. I tried the method in post

Embedding googleVis charts into a web site

But that did not work for Wordpress when I paste the file in HTML page. When I tried to publish in RPubs using Rmd I just get

   "## starting httpd help server ..."

and no chart.

Please let me know how I can display the googleVisMotion chart? Are there other methods?


Solution

  • I saved the chart as a html as suggested in Embedding googleVis charts into a web site. I then hosted the Html page as a Github page (gh-pages) and this worked.