Data Visualization with JavaScript

Data Visualization with JavaScript

by Stephen A. Thomas
March 2015, 384 pp.
This book is currently out of stock, but the ebook is still available

Look Inside!

Data Visualization with JavaScriptData Visualization with JavaScriptData Visualization with JavaScript

Data Visualization with JavaScriptData Visualization with JavaScript

You’ve got data to communicate. But what kind of visualization do you choose, how do you build your visualizations, and how do you ensure that they're up to the demands of the Web?

In Data Visualization with JavaScript, you’ll learn how to use JavaScript, HTML, and CSS to build practical visualizations for your data. Step-by-step examples walk you through creating, integrating, and debugging different types of visualizations and you'll be building basic visualizations (like bar, line, and scatter graphs) in no time.

You'll also learn how to:

  • Create tree maps, heat maps, network graphs, word clouds, and timelines
  • Map geographic data, and build sparklines and composite charts
  • Add interactivity and retrieve data with AJAX
  • Manage data in the browser and build data-driven web applications
  • Harness the power of the Flotr2, Flot, Chronoline.js, D3.js, Underscore.js, and Backbone.js libraries

If you already know your way around building a web page but aren’t quite sure how to build a good visualization, Data Visualization with JavaScript will help you get your feet wet without throwing you into the deep end. You’ll soon be well on your way to creating simple, powerful data visualizations.

Download the source code

Author Bio 

Stephen A. Thomas specializes in frontend development at Georgia Tech’s Department of Education Technology and has developed complex JavaScript visualizations for the health-care and security industries. He writes and speaks about data visualization in publications and at conferences around the world.

Table of contents 

Chapter 1: Graphing Data
Chapter 2: Making Charts Interactive
Chapter 3: Integrating Charts on a Page
Chapter 4: Creating Specialized Graphs
Chapter 5: Displaying Timelines
Chapter 6: Visualizing Geographic Data
Chapter 7: Custom Visualizations with D3.js
Chapter 8: Managing Data in the Browser
Chapter 9: Building Data-Driven Web Applications, Part 1
Chapter 10: Building Data-Driven Web Applications, Part 2

View the detailed Table of Contents (PDF)
View the Index (PDF)


Featured on Visualising Data's Best of the Visualisation Web list!

Chosen as the Staff Pick at Any New Books.


Page 9: The example code should read:

Flotr.draw(document.getElementById("chart"), wins, {