D3 for the Impatient. Interactive Graphics for Programmers and Scientists - Helion
ISBN: 978-14-920-4673-8
stron: 256, Format: ebook
Data wydania: 2019-05-02
Księgarnia: Helion
Cena książki: 160,65 zł (poprzednio: 186,80 zł)
Oszczędzasz: 14% (-26,15 zł)
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
Osoby które kupowały "D3 for the Impatient. Interactive Graphics for Programmers and Scientists", wybierały także:
- D3.js w akcji 67,42 zł, (20,90 zł -69%)
- Tablice informatyczne. Node.js 16,86 zł, (5,90 zł -65%)
- React i GatsbyJS. Kurs video. Nowoczesne strony internetowe w oparciu o headless CMS i GraphQL 148,98 zł, (59,59 zł -60%)
- TypeScript i React. Kurs video. Tworzenie nowoczesnych komponent 129,00 zł, (51,60 zł -60%)
- Vue.js w praktyce. Kurs video. Poznaj narz 148,98 zł, (59,59 zł -60%)
Spis treści
D3 for the Impatient. Interactive Graphics for Programmers and Scientists eBook -- spis treści
- Preface
- Conventions Used in This Book
- Using Code Examples
- OReilly Online Learning
- How to Contact Us
- Acknowledgments
- 1. Introduction
- Whom This Book Is For
- Why D3?
- What Is in This Book
- and What Is Not
- How to Read This Book
- Conventions
- Conventions of the D3 API
- Conventions for the API Reference Tables
- Conventions for the Code Examples
- Naming conventions
- Source file organization
- Platform, JavaScript, and browser
- 2. Lets Make Some Graphs, Already!
- A First Example: A Single Data Set
- A Second Example: Two Data Sets
- Plotting Symbols and Lines
- Adding Graph Elements with Reusable Components
- A Third Example: Animating List Items
- Creating HTML Elements with D3
- Creating a Simple Animation
- 3. The Heart of the Matter: Selecting and Binding
- Selections
- Creating Selections
- Understanding Selections
- Binding Data
- Unmatched Items: The Enter and Exit Selections
- Joining on a Key
- The General Update Pattern
- Manipulating Selections
- Operating on Elements of a Selection
- Operating on Selections Themselves
- Shared Parent Information Among Selections with Groups
- Selections
- 4. Events, Interactivity, and Animation
- Events
- Exploring Graphs with the Mouse
- Case Study: Simultaneous Highlighting
- The D3 Drag-and-Drop Behavior Component
- Notes on User Interface Programming
- Smooth Transitions
- Creating and Configuring Transitions
- Using Transitions
- Hints and Techniques
- Strings
- Chained transitions
- Explicit starting configuration
- Custom interpolators
- Transition events
- Easings
- Dont overuse transitions
- Animation with Timer Events
- Example: Real-Time Animations
- Example: Smoothing Periodic Updates with Transitions
- 5. Generators, Components, Layouts: Drawing Curves and Shapes
- Generators, Components, and Layouts
- Symbols
- Using D3 Built-Ins
- Custom Symbols
- SVG Fragments as Symbols
- Lines and Curves
- Built-In Curves
- Curves without an adjustable parameter
- Curves with an adjustable parameter
- Custom Curves
- Built-In Curves
- Circles, Arcs, and Pie Charts: Working with Layouts
- Other Shapes
- Writing Your Own Components
- A Simple Component
- Working with Components
- A Component to Save Keystrokes
- SVG Transformations as Components
- 6. Files, Fetches, Formats: Getting Data In and Out
- Fetching a File
- Examples
- Controlling Fetches with the RequestInit Object
- Caching
- Third-party resources and CORS
- Writing a file
- Parsing and Writing Tabular Data
- Field Value Conversions
- Parsing Input Containing Arbitrary Delimiters
- Generating Tabular Output
- Using Regular Expressions to Parse Whitespace-Separated Data
- Formatting Numbers
- Locales
- Formatters
- Format or Conversion Specifiers
- Fetching a File
- 7. Values to Visuals: Interpolations, Scales, and Axes
- Interpolation
- How Universal Interpolation Works
- Implementation Notes and Custom Interpolators
- Scales
- Continuous Scales: Numbers to Numbers
- Sequential and diverging scales
- Binning Scales: Numbers to Bins
- Discrete or Ordinal Scales: Keys to Sequence
- Continuous Scales: Numbers to Numbers
- Axes
- The Constituents of an Axis
- Creating an Axis and Moving It into Position
- Customizing Tick Marks and Their Labels
- Examples
- Falling Long-Distance Costs: Linear and Logarithmic Scales
- Server Load: Time Series and Discrete Colors
- Interpolation
- 8. Colors, Color Scales, and Heatmaps
- Colors and Color Space Conversions
- Color Schemes
- Cartographic Schemes
- False-Color Schemes
- Other Color Schemes
- Color Scales
- Discrete Colors
- Color Gradients
- Making a Color Box
- False-Color Graphs and Related Techniques
- Heatmaps
- Contour Lines
- 9. Trees and Networks
- Trees and Hierarchical Data Structures
- Preparing the Data
- Link and Node Diagrams for Trees
- Area Graphs for Containment Hierarchies
- Force-Based Particle Arrangements
- Simulation How-To
- Simulation setup
- Controlling convergence
- Constraints and interactions
- Built-In Interactions
- Examples
- Creating a network layout
- Animated particles
- Simulation How-To
- Trees and Hierarchical Data Structures
- 10. Utilities: Arrays, Statistics, and Timestamps
- Structural Array Manipulations
- Descriptive Statistics for Numerical Arrays
- Histograms
- Working with Dates and Timestamps
- Parsing and Formatting Timestamps
- A. Setup, Tools, Resources
- Setup
- Tools
- Resources
- Books
- Websites, Example Collections, and Galleries
- B. An SVG Survival Kit
- Introduction
- General Overview
- Shapes
- Path
- Text
- Presentational Attributes
- Color
- Transformations
- Structural Elements and Document Organization
- Coordinates, Scaling, and Rendering
- SVG and CSS
- Resources
- C. Hitchhikers Guide to JavaScript and the DOM
- JavaScript
- Hosted language
- Semicolon insertion
- Basic data types
- Boolean expressions
- Type conversions
- Equality comparison
- Variable declaration and scope
- Functions
- The this variable
- Arrow functions
- Collection data types
- Objects
- Mathematical functions
- Unavailable features
- The DOM
- Classes
- DOM Events
- Event Propagation
- The Browser as Development Environment
- Resources
- JavaScript
- JavaScript
- Index