HTML5 Graphing & Data Visualization Cookbook

Ben Fhala

  • 出版商: Packt Publishing
  • 出版日期: 2012-10-22
  • 售價: $2,170
  • 貴賓價: 9.5$2,062
  • 語言: 英文
  • 頁數: 344
  • 裝訂: Paperback
  • ISBN: 1849693706
  • ISBN-13: 9781849693707
  • 相關分類: HTMLData-visualization
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Get a complete grounding in the exciting visual world of Canvas and HTML5 using this recipe-packed cookbook. Learn to create charts and graphs, draw complex shapes, add interactivity, work with Google maps, and much more.

Overview

  • Build interactive visualizations of data from scratch with integrated animations and events
  • Draw with canvas and other html5 elements that improve your ability to draw directly in the browser
  • Work and improve existing 3rd party charting solutions such as Google Maps

In Detail

The HTML5 canvas tag makes creating any plot shape easy, all you have to do then is fill it with exciting visualizations written in JavaScript or using other visualization tools.

"HTML5 Graphing and Data Visualization Cookbook" is the perfect break into the world of Canvas, charts, and graphs in HTML5 and JavaScript. In this book we will go through a journey of getting to know the technology by creating and planning data-driven visualizations. This cookbook is organized in a linear, progressive way so it can be read from start to finish, as well as be used as a resource for specific tasks.

This book travels through the steps involved in creating a fully interactive and animated visualization in HTML5 and JavaScript. You will start from very simple "hello world" samples and quickly dive deeper into the world of graphs and charts in HTML5. Followed by learning how canvas works and carrying out a group of tasks geared at taking what we learned and implementing it in a variety of chart types. With each chapter the content becomes more complex and our creations become more engaging and interactive.

Our goal is that by the end of this book you will have a strong foundation; knowing when to create a chart on your own from scratch and when it would be a good idea to depend on other APIs.

We finish our book in our last two chapters exploring Google maps and integrating everything we learnt into a full project.

What you will learn from this book

  • Creating graphics in Canvas 2D and draw complex shapes
  • Building most of the common charts through step-by-step recipes
  • Adding interactivity to canvas elements and create your own JavaScript animation engine
  • Discovering many fantastic charting solutions and learn how to deal with their capabilities and how to change them as well
  • Learning how to work with Google maps , Google Charts, and Google Docs API
  • Integrating your data into live data, xml driven data, objects, and strings

Approach

This cookbook is organized in a linear, progressive way allowing it to be read from start to finish, as well as to be used as a useful resource for specific tasks.

The HTML5 examples and recipes will have you making dynamic, interactive, and animated charts and graphs in no time.

Who this book is written for

You don't need to have a background in HTML5 or Canvas but you do need to have a basic understanding of how HTML works and know how to code in any language (preferably in JavaScript). In this book we will not explain how to learn to code but how to create projects and how to plan and execute them in the process.

商品描述(中文翻譯)

在這本食譜包裝的書籍中,您將完整地了解Canvas和HTML5這個令人興奮的視覺世界。學習創建圖表和圖形、繪製複雜形狀、添加互動性、使用Google地圖等等。

概述:
- 從頭開始使用集成的動畫和事件來建立互動式的數據可視化
- 使用Canvas和其他HTML5元素進行繪製,提高在瀏覽器中直接繪製的能力
- 使用和改進現有的第三方圖表解決方案,如Google地圖

詳細內容:
HTML5的canvas標籤使得創建任何繪圖形狀變得容易,您只需使用JavaScript或其他可視化工具填充它。

《HTML5圖表和數據可視化食譜》是進入Canvas、圖表和HTML5和JavaScript的世界的完美入門。在本書中,我們將通過創建和規劃數據驅動的可視化來了解這項技術。這本食譜書籍按線性和漸進的方式組織,可以從頭到尾閱讀,也可以作為特定任務的資源使用。

本書通過創建一個完全互動和動畫的HTML5和JavaScript可視化來介紹相關步驟。您將從非常簡單的“hello world”示例開始,並迅速深入HTML5中的圖表世界。然後學習如何使用canvas並執行一組任務,以將我們所學應用於各種圖表類型。隨著每一章的進展,內容變得更加複雜,我們的創作變得更加引人入勝和互動。

我們的目標是在本書結束時,您將擁有堅實的基礎,知道何時從頭開始創建圖表,以及何時依賴其他API是一個好主意。

在最後兩章中,我們將探索Google地圖並將我們所學的一切整合到一個完整的項目中。

本書將教您:
- 在Canvas 2D中創建圖形並繪製複雜形狀
- 通過逐步的食譜構建大多數常見的圖表
- 為canvas元素添加互動性並創建自己的JavaScript動畫引擎
- 發現許多出色的圖表解決方案,並學習如何處理它們的功能以及如何進行更改
- 學習如何使用Google地圖、Google Charts和Google Docs API
- 將您的數據集成到實時數據、XML驅動的數據、對象和字符串中

這本食譜書籍以線性和漸進的方式組織,可以從頭到尾閱讀,也可以作為特定任務的有用資源。

這些HTML5的示例和食譜將使您能夠快速製作動態、互動和動畫的圖表。本書適合沒有HTML5或Canvas背景的讀者,但您需要基本了解HTML的工作原理,並且懂得使用任何一種編程語言(最好是JavaScript)。在本書中,我們不會解釋如何學習編程,而是教您如何創建項目,以及如何計劃和執行它們的過程。