PacktLib: HTML5 Graphing and Data Visualization Cookbook

HTML5 Graphing and Data Visualization Cookbook

Credits

About the Author

About the Reviewer

www.PacktPub.com

Preface

Drawing Shapes in Canvas

Introduction

Graphics with 2D canvas

Starting from basic shapes

Layering rectangles to create the flag of Greece

Creating shapes using paths

Creating complex shapes

Adding more vertices

Overlapping shapes to create other shapes

Advanced Drawing in Canvas

Introduction

Drawing arcs

Drawing curves with a control point

Creating a Bezier curve

Integrating images into our art

Drawing with text

Understanding pixel manipulation

Creating Cartesian-based Graphs

Introduction

Building a bar chart from scratch

Spreading data in a scatter chart

Building line charts

Creating the flying brick chart (waterfall chart)

Building a candlestick chart (stock chart)

Let's Curve Things Up

Introduction

Building a bubble chart

Creating a pie chart

Using a doughnut chart to show relationships

Leveraging a radar

Structuring a tree chart

Getting Out of the Box

Introduction

Going through a funnel (a pyramid chart)

Revisiting lines: making the line chart interactive

Tree mapping and recursiveness

Adding user interaction into tree mapping

Making an interactive click meter

Bringing Static Things to Life

Introduction

Stacking graphical layers

Moving to an OOP perspective

Animating independent layers

Adding an interactive legend

Creating a context-aware legend

Depending on the Open Source Sphere

Introduction

Animating a gauge meter (jqPlot)

Creating an animated 3D chart (canvas3DGraph)

Charting over time (flotJS)

Building a clock with RaphaelJS

Making a sunburst chart with InfoVis

Playing with Google Charts

Introduction

Getting started with a pie chart

Creating charts using the ChartWrapper

Changing data source to Google Spreadsheet

Customizing the chart properties with an options object

Adding a dashboard to charts

Using Google Maps

Introduction

Creating a geographic chart with Google Visualization API

Obtaining a Google API key

Building a Google map

Adding markers and events

Customizing controls and overlapping maps

Redesigning maps using styles

Maps in Action

Introduction

Connecting a Twitter feed to a Google map

Building an advanced interactive marker

Adding multiple tweets into an InfoWindow bubble

Customizing the look and feel of markers

Final project: building a live itinerary

Index