D3 for the Impatient: Interactive Graphics for Programmers and Scientists
Authors: Philipp K. Janert
ISBN-10: 1492046779
ISBN-13: 9781492046776
Edition 版本: 1
Released: 2019-05-16
Print Length 页数: 256 pages
Book Description
If you’re in a hurry to learn D3.js,the leading JavaScript library for web-based graphics and visualization,this book is for you. Written for technically savvy readers with a background in programming or data science,the book moves quickly,emphasizing unifying concepts and patterns. Anticipating common difficulties,author Philipp K. Janert teaches you how to apply D3 to your own problems.
Assuming only a general programming background,but no previous experience with contemporary web development,this book explains supporting technologies such as SVG,HTML5,CSS,and the DOM as needed,making it a convenient one-stop resource for a technical audience.
Understand D3 selections,the library’s fundamental organizing principle
Learn how to create data-driven documents with data binding
Create animated graphs and interactive user interfaces
Draw figures with curves,shapes,and colors
Use the built-in facilities for heatmaps,tree graphs,and networks
Simplify your work by writing your own reusable components
Contents
Preface
Chapter 1. Introduction
Chapter 2. Lets Make Some Graphs,Already!
Chapter 3. The Heart of the Matter: Selecting and Binding
Chapter 4. Events,Interactivity,and Animation
Chapter 5. Generators,Components,Layouts: Drawing Curves and Shapes
Chapter 6. Files,Fetches,Formats: Getting Data In and Out
Chapter 7. Values to Visuals: Interpolations,Scales,and Axes
Chapter 8. Colors,Color Scales,and Heatmaps
Chapter 9. Trees and Networks
Chapter 10. Utilities: Arrays,Statistics,and Timestamps
Appendix A. Setup,Tools,Resources
Appendix B. An SVG Survival Kit
Appendix C. Hitchhiker’s Guide to JavaScript and the DOM
Index
About the Author
Colophon