Book Image

Social Data Visualization with HTML5 and JavaScript

By : Simon Timms
Book Image

Social Data Visualization with HTML5 and JavaScript

By: Simon Timms

Overview of this book

<p>The increasing adoption of HTML5 opens up a new world of JavaScript-powered visualizations. By harnessing the power of scalable vector graphics (SVGs), you can present even complex data to your users in an easy-to-understand format and improve the user experience by freeing users from the burden of tabular data.</p> <p>Social Data Visualization with HTML5 and JavaScript teaches you how to leverage HTML5 techniques through JavaScript to build visualizations. It also helps to clear up how the often complicated OAuth protocol works to help you unlock a universe of social media data from sites like Twitter, Facebook, and Google+.</p> <p>Social Data Visualization with HTML5 and JavaScript provides you with an introduction to creating an accessible view into the massive amounts of data available in social networks. Developers with some JavaScript experience and a desire to move past creating boring charts and tables will find this book a perfect fit. You will learn how to make use of powerful JavaScript libraries to become not just a programmer, but a data artist.</p> <p>By using OAuth, which is helpfully demystified in one of the book’s chapters, you will be able to unlock the universe of social media data. Through visualizations, you will also tease out trends and relationships which would normally be lost in the noise.</p>
Table of Contents (15 chapters)

Chapter 3. OAuth

Creating visualizations is really only half the battle; the other half is getting high quality data to drive the visualization. There are a lot of potential data sources that you may wish to exploit. Almost every country has a national statistics organization tasked with gathering and analyzing economic and social statistics. In the past few years, many governments have begun adopting Open Data initiatives. Many businesses are also centered on providing usable data; think about the amount of data provided by various stock exchanges. You may even have access to internal company data you're using to drive your visualization, or your visualization may be part of a larger application that will provide you with data.

Another source, and the source we're interested in for this book, is social media. Social media sites have a plethora of data available to their users. The vast majority of social media sites provide APIs for accessing data in a programmatic fashion. Frequently, this...