Data Visualization with D3 4.x Cookbook - Second Edition.

Discover over 65 recipes to help you create breathtaking data visualizations using the latest features of D3 About This Book Learn about D3 4.0 from the inside out and master its new features Utilize D3 packages to generate graphs, manipulate data, and create beautiful presentations Solve real-world...

Full description

Saved in:
Bibliographic Details
Online Access: Full text (MCPHS users only)
Main Author: Zhu, Nick
Format: Electronic eBook
Language:English
Published: Birmingham : Packt Publishing, 2017
Edition:2nd ed.
Subjects:
Local Note:ProQuest Ebook Central
Table of Contents:
  • Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Customer Feedback; Table of Contents; Preface; Chapter 1: Getting Started with D3.js; Introduction; Setting up a simple D3 development environment; Getting ready; How to do it ... ; How it works ... ; There's more ... ; How to get source code; Setting up an NPM-based development environment; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Setting up a local HTTP server; Python Simple HTTP server; Node.js HTTP server; Understanding D3-style JavaScript; Getting ready; How to do it ... ; How it works ...
  • Functions are objectsStatic variable scoping; Getter-setter function; Function chaining; There's more ... ; Finding and sharing code; How to get help; Chapter 2: Be Selective; Introduction; Introducing selection; CSS3 selector basics; Selecting a single element; Getting ready; How to do it ... ; How it works ... ; Selecting multiple elements; Getting ready; How to do it ... ; How it works ... ; Iterating through a selection; Getting ready; How to do it ... ; How it works ... ; Performing subselection; Getting ready; How to do it ... ; How it works ... ; Function chaining; Getting ready; How to do it ... ; How it works ...
  • Manipulating the raw selectionGetting ready; How to do it ... ; How it works ... ; Chapter 3: Dealing with Data; Introduction; The enter-update-exit pattern; Binding an array as data; Getting ready; How to do it ... ; How it works ... ; Binding object literals as data; Getting ready; How to do it ... ; How it works ... ; Binding functions as data; Getting ready; How to do it ... ; How it works ... ; Working with arrays; Getting ready; How to do it ... ; How it works ... ; Filtering with data; Getting ready; How to do it ... ; How it works ... ; Sorting with data; Getting ready; How to do it ... ; How it works ... ; Loading data from a server.
  • Getting readyHow to do it ... ; How it works ... ; Asynchronous data loading using queue; Getting ready; How to do it ... ; How it works ... ; Chapter 4: Tipping the Scales; Introduction; What are scales?; Using continuous scales; Getting ready; How to do it ... ; How it works ... ; Linear scale; Power scale; Log scale; Using the time scale; Getting ready; How to do it ... ; How it works ... ; There's more ... ; See also; Using the ordinal scale; Getting ready; How to do it ... ; How it works ... ; Interpolating a string; Interpolator; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Interpolating colors; Getting ready.
  • How to do it ... How it works ... ; See also; Interpolating compound objects; Getting ready; How to do it ... ; How it works ... ; Chapter 5: Playing with Axes; Introduction; Working with basic axes; Getting ready; How to do it ... ; How it works ... ; Customizing ticks; Getting ready; How to do it ... ; How it works ... ; Drawing grid lines; Getting ready; How to do it ... ; How it works ... ; Dynamic rescaling of axes; Getting ready; How to do it ... ; How it works ... ; Chapter 6: Transition with Style; Introduction; What is Transition?; Animating a single element; Getting ready; How to do it ... ; How it works ... ; Animating multiple elements.