D3.js Quick Start Guide: Create amazing, interactive visualizations in the browser with JavaScript
Matthew Huntington
- 出版商: Packt Publishing
- 出版日期: 2018-09-28
- 售價: $1,440
- 貴賓價: 9.5 折 $1,368
- 語言: 英文
- 頁數: 180
- 裝訂: Paperback
- ISBN: 1789342384
- ISBN-13: 9781789342383
-
相關分類:
Data-visualization、JavaScript
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$1,440$1,368 -
$1,590$1,511 -
$750$638 -
$680$537
相關主題
商品描述
This book will help you build interactive graphs that are viewable in any web browser using JavaScript, D3.js, and SVG. You will learn how to make a scatter plot, a bar graph, a pie chart, a force directed graph, and a map.
Key Features
- Takes you through the most common graphs you'll need
- Add interactivity to your visualizations
- Easy to follow builds
Book Description
D3.js is a JavaScript library that allows you to create graphs and data visualizations in the browser with HTML, SVG, and CSS. This book will take you from the basics of D3.js, so that you can create your own interactive visualizations, to creating the most common graphs that you will encounter as a developer, scientist, statistician, or data scientist.
The book begins with an overview of SVG, the basis for creating two-dimensional graphics in the browser. Once the reader has a firm understanding of SVG, we will tackle the basics of how to use D3.js to connect data to our SVG elements. We will start with a scatter plot that maps run data to circles on a graph, and expand our scatter plot to make it interactive. You will see how you can easily allow the users of your graph to create, edit, and delete run data by simply dragging and clicking the graph. Next, we will explore creating a bar graph, using external data from a mock API.
After that, we will explore animations and motion with a bar graph, and use various physics-based forces to create a force-directed graph. Finally, we will look at how to use GeoJSON data to create a map.
What you will learn
- Build a scatter plot
- Build a bar graph
- Build a pie chart
- Build a force-directed graph
- Build a map
- Build interactivity into your graphs
Who this book is for
This book is for web developers, interactive news developers, data scientists, and anyone interested in representing data through interactive visualizations on the Web with D3. Some basic knowledge of JavaScript is expected, but no prior experience with data visualization or D3 is required to follow this book.
Table of Contents
- Getting Started with D3.js
- Using SVG to Create Images Using Code
- Building an Interactive Scatter Plot
- Making a Basic Scatter Plot Interactive
- Creating a Bar Graph Using a Data File
- Animating SVG Elements to Create an Interactive Pie Chart
- Using Physics to Create a Force-Directed Graph
- Mapping
商品描述(中文翻譯)
這本書將幫助您使用JavaScript、D3.js和SVG建立可在任何網頁瀏覽器中查看的互動圖表。您將學習如何製作散點圖、長條圖、圓餅圖、力導向圖和地圖。
主要特點:
- 引導您完成最常見的圖表製作
- 為您的視覺化添加互動性
- 易於跟隨的構建過程
書籍描述:
D3.js是一個JavaScript庫,允許您使用HTML、SVG和CSS在瀏覽器中創建圖表和數據可視化。本書將從D3.js的基礎開始,讓您能夠創建自己的互動式視覺化,並創建開發人員、科學家、統計學家或數據科學家在工作中最常遇到的圖表。
本書首先概述了SVG,這是在瀏覽器中創建二維圖形的基礎。一旦讀者對SVG有了牢固的理解,我們將介紹如何使用D3.js將數據連接到SVG元素的基礎知識。我們將從將運行數據映射到圖表上的圓圈的散點圖開始,並擴展我們的散點圖以使其具有互動性。您將看到如何通過簡單地拖動和點擊圖表,輕鬆地讓圖表的使用者創建、編輯和刪除運行數據。接下來,我們將探索使用來自模擬API的外部數據創建長條圖。
之後,我們將探索使用動畫和運動創建長條圖,並使用各種基於物理的力來創建力導向圖。最後,我們將介紹如何使用GeoJSON數據創建地圖。
您將學到的內容:
- 構建散點圖
- 構建長條圖
- 構建圓餅圖
- 構建力導向圖
- 構建地圖
- 將互動性添加到您的圖表
本書適合網頁開發人員、互動新聞開發人員、數據科學家以及對使用D3在網頁上進行互動數據可視化感興趣的人。需要一些JavaScript的基本知識,但不需要先前的數據可視化或D3的經驗即可跟隨本書。
目錄:
1. 開始使用D3.js
2. 使用SVG使用代碼創建圖像
3. 構建互動散點圖
4. 使基本散點圖具有互動性
5. 使用數據文件創建長條圖
6. 使用動畫的SVG元素創建互動圓餅圖
7. 使用物理效果創建力導向圖
8. 地圖