Learn Chart.Js

Helder da Rocha

  • 出版商: Packt Publishing
  • 出版日期: 2019-02-28
  • 售價: $1,410
  • 貴賓價: 9.5$1,340
  • 語言: 英文
  • 頁數: 284
  • 裝訂: Paperback
  • ISBN: 1789342481
  • ISBN-13: 9781789342482
  • 相關分類: CSSHTMLJavaScript
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Key Features

  • Harness the power of JavaScript, HTML, and CSS to create interactive visualizations
  • Display quantitative information efficiently in the form of attractive charts by using Chart.js
  • A practical guide for creating data-driven applications using open-source JavaScript library

Book Description

Chart.js is a free, open-source data visualization library, maintained by an active community of developers in GitHub, where it rates as the second most popular data visualization library. If you want to quickly create responsive Web-based data visualizations for the Web, Chart.js is a great choice.

This book guides the reader through dozens of practical examples, complete with code you can run and modify as you wish. It is a practical hands-on introduction to Chart.js. If you have basic knowledge of HTML, CSS and JavaScript you can learn to create beautiful interactive Web Canvas-based visualizations for your data using Chart.js. This book will help you set up Chart.js in a Web page and show how to create each one of the eight Chart.js chart types. You will also learn how to configure most properties that override Chart's default styles and behaviors. Practical applications of Chart.js are exemplified using real data files obtained from public data portals. You will learn how to load, parse, filter and select the data you wish to display from those files. You will also learn how to create visualizations that reveal patterns in the data. This book is based on Chart.js version 2.7.3 and ES2015 JavaScript.

By the end of the book, you will be able to create beautiful, efficient and interactive data visualizations for the Web using Chart.js.

What you will learn

  • Learn how to create interactive and responsive data visualizations using Chart.js
  • Learn how to create Canvas-based graphics without Canvas programming
  • Create composite charts and configure animated data updates and transitions
  • Efficiently display quantitative information using bar and line charts, scatterplots, and pie charts
  • Learn how to load, parse, and filter external files in JSON and CSV formats
  • Understand the benefits of using a data visualization framework

Who this book is for

The ideal target audience of this book includes web developers and designers, data journalists, data scientists and artists who wish to create interactive data visualizations for the Web. Basic knowledge of HTML, CSS, and JavaScript is required. No Canvas knowledge is necessary.

商品描述(中文翻譯)

主要特點


  • 運用JavaScript、HTML和CSS的力量創建互動式視覺化

  • 使用Chart.js以引人注目的圖表形式高效顯示數量信息

  • 使用開源JavaScript庫創建數據驅動應用的實用指南

書籍描述

Chart.js是一個免費的開源數據可視化庫,由GitHub上一個活躍的開發者社區維護,是第二受歡迎的數據可視化庫。如果您想要快速為Web創建響應式的數據可視化,Chart.js是一個很好的選擇。

本書通過數十個實用示例,帶領讀者進行實踐,並提供可運行和修改的代碼。這是一本實用的Chart.js入門指南。如果您具備HTML、CSS和JavaScript的基本知識,您可以學習使用Chart.js創建美觀的互動式Web Canvas數據可視化。本書將幫助您在Web頁面中設置Chart.js,並展示如何創建八種Chart.js圖表類型。您還將學習如何配置大多數屬性,以覆蓋Chart的默認樣式和行為。通過公共數據門戶獲取的真實數據文件將展示Chart.js的實際應用。您將學習如何從這些文件中加載、解析、過濾和選擇要顯示的數據。您還將學習如何創建揭示數據中模式的可視化效果。本書基於Chart.js版本2.7.3和ES2015 JavaScript。

通過閱讀本書,您將能夠使用Chart.js為Web創建美觀、高效和互動式的數據可視化。

您將學到什麼


  • 學習如何使用Chart.js創建互動和響應式的數據可視化

  • 學習如何創建基於Canvas的圖形,無需Canvas編程

  • 創建複合圖表,配置動畫數據更新和過渡效果

  • 使用條形圖、折線圖、散點圖和餅圖高效顯示數量信息

  • 學習如何加載、解析和過濾JSON和CSV格式的外部文件

  • 了解使用數據可視化框架的好處

本書適合對象

本書的理想讀者包括網絡開發人員和設計師、數據記者、數據科學家和藝術家,他們希望為Web創建互動式數據可視化。需要具備HTML、CSS和JavaScript的基本知識,無需了解Canvas。

目錄大綱

  1. Introduction
  2. Technology Fundamentals
  3. Chart.js - Quick start
  4. Creating Charts
  5. Scales and Grid Configuration
  6. Configuring Styles and Interactivity
  7. Advanced Chart.js

目錄大綱(中文翻譯)


  1. 介紹

  2. 技術基礎

  3. Chart.js - 快速入門

  4. 創建圖表

  5. 刻度和網格配置

  6. 配置樣式和互動性

  7. 高級 Chart.js