Google Visualization API Diagram in Blogger / Blogspot
Is it possible to embed the visualization (chart) generated by the Google Visualization API in the Blogger post?
I tried to strip the tags <head>
and <body>
(and closing tags) from the example chart , however, the visualization of the pie chart cannot show even in the published post.
NOTE . I am asking about the visualization API, not the Google Image Charts (Chart API) .
source to share
Managed to add a timeline graph, it's not a very straight forward path, but it worked.
Add this to your blog template in <head>
:
<script type='text/javascript' src='http://www.google.com/jsapi'></script>
Then when you go to your post, write everything and hit "Edit HTML". Paste the rest of the javascript inside, but remove any returns or they will be automatically replaced with a tag
inserted by the blogger editor. Save it and you should be ready to go.
Please let me know if you have a specific graph that you would like to show and I will try to get it to work.
source to share