Want Sweet Deals? Join our Mailing List

Data Visualization with JavaScript

By Stephen A. Thomas

Clear

Data Visualization with JavaScript shows developers how to create impressive data visualizations for the web, including animated charts

Description

Download Chapter 7: Custom Visualizations with D3.js

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

DETAILS

March 2015, 384 pp.
ISBN-13: 9781593276058

TABLE OF CONTENTS

Introduction
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)

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.

UPDATES

Page 9: The example code should read:

Flotr.draw(document.getElementById(“chart”), wins, {

REVIEWS

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

Chosen as the Staff Pick at Any New Books.

You Might Also Like

Newsletter Subscription

We’ll send you sweet deals on upcoming books and let you know when new books are released. We’ll never sell, give away, or use your personal information for nefarious purposes. Choose the categories you’re interested in (check as many as you’d like):