{"id":4089,"date":"2017-05-02T08:46:23","date_gmt":"2017-05-02T08:46:23","guid":{"rendered":"http:\/\/2017.europe.wordcamp.org\/?post_type=wcb_session&#038;p=4089"},"modified":"2017-05-10T17:09:02","modified_gmt":"2017-05-10T17:09:02","slug":"data-visualization-with-the-rest-api","status":"publish","type":"wcb_session","link":"https:\/\/europe.wordcamp.org\/2017\/session\/data-visualization-with-the-rest-api\/","title":{"rendered":"Data Visualization with the REST API"},"content":{"rendered":"<p>With WordPress 4.7 we gained REST API endpoints for core data types\u2014now what can we do with them? We&#8217;re seeing how the REST API is being used to build new and better editing interfaces, but we also have a huge opportunity to use that API to explore the data we already have within our sites. It&#8217;s never been so easy to access our WordPress content from JavaScript, so let&#8217;s see what we can learn about it through data visualization! I will share how we can combine the REST API with visualization tools like <a href=\"https:\/\/d3js.org\/\">D3.js<\/a> to gain new insights into your content. We will build a network diagram to visualize how tags and categories area applied to posts, then discover how to use custom post types and register_meta to build a completely custom dashboard within WordPress for any type of data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With WordPress 4.7 we gained REST API endpoints for core data types\u2014now what can we do with them? We&#8217;re seeing how the REST API is being used to build new and better editing interfaces, but we also have a huge opportunity to use that API to explore the data we already have within our sites. [&hellip;]<\/p>\n","protected":false},"author":7230939,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1497718800,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[4087],"footnotes":""},"session_track":[13412],"session_category":[],"class_list":["post-4089","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-track-2"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7DKI8-13X","session_date_time":{"date":"June 17, 2017","time":"5:00 pm"},"session_speakers":[{"id":"4087","slug":"k-adam-white","name":"K. Adam White","link":"https:\/\/europe.wordcamp.org\/2017\/speaker\/k-adam-white\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/europe.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/4089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/europe.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/europe.wordcamp.org\/2017\/wp-json\/wp\/v2\/types\/wcb_session"}],"author":[{"embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2017\/wp-json\/wp\/v2\/users\/7230939"}],"version-history":[{"count":2,"href":"https:\/\/europe.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/4089\/revisions"}],"predecessor-version":[{"id":5704,"href":"https:\/\/europe.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/4089\/revisions\/5704"}],"speakers":[{"embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2017\/wp-json\/wp\/v2\/speakers\/4087"}],"wp:attachment":[{"href":"https:\/\/europe.wordcamp.org\/2017\/wp-json\/wp\/v2\/media?parent=4089"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_track?post=4089"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_category?post=4089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}