{"id":11125,"date":"2014-12-20T05:03:28","date_gmt":"2014-12-19T18:03:28","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=11125"},"modified":"2014-12-20T05:03:28","modified_gmt":"2014-12-19T18:03:28","slug":"phpjavascripthtml-google-chart-wordtree-chart-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/phpjavascripthtml-google-chart-wordtree-chart-tutorial\/","title":{"rendered":"PHP\/Javascript\/HTML Google Chart Wordtree Chart Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Wordtree\/wordtree_chart.php\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"PHP\/Javascript\/HTML Google Chart Wordtree Chart Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Wordtree\/Wordtree.jpeg\" title=\"PHP\/Javascript\/HTML Google Chart Wordtree Chart Tutorial\"  style=\"float:left;\" id=\"iw\" onmouseover=\" this.src=this.src.replace('.jpg','.JPEG').replace('.png','.GIF').replace('.jpeg','.png').replace('.gif','.jpg').replace('.JPEG','.jpeg').replace('.GIF','.gif');   \" \/><\/a><p class=\"wp-caption-text\">PHP\/Javascript\/HTML Google Chart Wordtree Chart Tutorial<\/p><\/div>\n<p style='color: black;'>&nbsp;Here is a tutorial that introduces you to Google Graphs API, or Google Chart Tools, and its Wordtree Chart functionality.<\/p>\n<blockquote style='color: black;'><p>&nbsp;Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.<\/p><\/blockquote>\n<p>This recently released Google Charts functionality is best thought of as equating to &#8220;give me the gist of&#8221; some text of some sort, so today, with our <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Wordtree\/wordtree_chart.php?word=HTML&#038;url=http:\/\/www.rjmprogramming.com.au\" title='Live run example'>live run<\/a> (scenario example finding the relevance of <i>&#8220;HTML&#8221;<\/i> to this domain&#8217;s landing page), we ask for a URL of interest, parse it using PHP and its <a target=_blank title='PHP DOMDocument class' href='http:\/\/php.net\/manual\/en\/class.domdocument.php'>DOMDocument<\/a> class to give an overall &#8220;relevance&#8221; feel of that URL to a user-defined <i>&#8220;Theme&#8221;<\/i> word of interest.<\/p>\n<p style='color: black;'>&nbsp;Let&#8217;s see some  <a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/PHP\/Wordtree\/wordtree_chart.php'>PHP<\/a> code in a <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Wordtree\/wordtree_chart.php\" title='Live action'>live action<\/a> for this tutorial where you define your Wordtree chart data source and <i>&#8220;Theme&#8221;<\/i> word.<\/p>\n<p style='color: black;'>&nbsp;Link to Google Chart Tools &#8220;spiritual home&#8221; &#8230; <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/index' title='Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical tree maps, the chart galley provides a large number of well-designed chart types. Populating your data is easy using the provided client- and server-side tools.'>via Google<\/a>.\n<\/p>\n<p style='color: black;'>&nbsp;Link to Google Chart Tools Wordtree Chart information &#8230; <a target=_blank href='https:\/\/developers.google.com\/chart\/interactive\/docs\/gallery\/wordtree' title='Google Wordtree Charts'>via Google<\/a>.\n<\/p>\n<p style='color: black;'>&nbsp;Link to some downloadable PHP code &#8230; rename to <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/Wordtree\/wordtree_chart.php_GETME' title='Download me'>wordtree_chart.php<\/a>.\n<\/p>\n<p style='color: black;'>&nbsp;If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d11125' onclick='var dv=document.getElementById(\"d11125\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=Google+Chart#content\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d11125' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<p><!--\/div--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;Here is a tutorial that introduces you to Google Graphs API, or Google Chart Tools, and its Wordtree Chart functionality. &nbsp;Google Chart Tools provide a perfect way to visualize data on your website. From simple line charts to complex hierarchical &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/phpjavascripthtml-google-chart-wordtree-chart-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[493,513,518,576,652,932,997,1046,1319],"class_list":["post-11125","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-gist","tag-google","tag-google-chart","tag-html","tag-javascript","tag-php","tag-programming","tag-relevance","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/11125"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=11125"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/11125\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=11125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=11125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=11125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}