Data Visualization with D3.js Cookbook.
Packed with practical recipes, this is a step-by-step guide to learning data visualization with D3 with the help of detailed illustrations and code samples. If you are a developer familiar with HTML, CSS, and JavaScript, and you wish to get the most out of D3, then this book is for you. This book ca...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Packt Publishing,
2013.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Table of Contents
- Preface
- Chapter 1: Getting Started with D3.js
- Introduction
- Setting up a simple D3 development environment
- Setting up an NPM-based development environment
- Understanding D3-style JavaScript
- Chapter 2: Be Selective
- Introduction
- Selecting a single element
- Selecting multiple elements
- Iterating through a selection
- Performing subselection
- Function chaining
- Manipulating the raw selection
- Chapter 3: Dealing with DataIntroduction
- Binding an array as data
- Binding object literals as data
- Binding functions as data
- Working with arrays
- Filtering with data
- Sorting with data
- Loading data from a server
- Chapter 4: Tipping the Scales
- Introduction
- Using quantitative scales
- Using the time scale
- Using the ordinal scale
- Interpolating a string
- Interpolating colors
- Interpolating compound objects
- Implementing a custom interpolator
- Chapter 5: Playing with Axes
- Introduction
- Working with basic axesCustomizing ticks
- Drawing grid lines
- Dynamic rescaling of axes
- Chapter 6: Transition with Style
- Introduction
- Animating a single element
- Animating multiple elements
- Using ease
- Using tweening
- Using transition chaining
- Using transition filter
- Listening to transitional events
- Implementing a custom interpolator
- Working with timer
- Chapter 7: Getting into Shape
- Introduction
- Creating simple shapes
- Using a line generator
- Using line interpolation
- Changing line tension
- Using an area generatorUsing area interpolation
- Using an arc generator
- Implementing arc transition
- Chapter 8: Chart Them Up
- Introduction
- Creating a line chart
- Creating an area chart
- Creating a scatter plot chart
- Creating a bubble chart
- Creating a bar chart
- Chapter 9: Lay Them Out
- Introduction
- Building a pie chart
- Building a stacked area chart
- Building a treemap
- Building a tree
- Building an enclosure diagram
- Chapter 10: Interacting with your Visualization
- Introduction
- Interacting with mouse eventsInteracting with a multi-touch device
- Implementing zoom and pan behavior
- Implementing drag behavior
- Chapter 11: Using Force
- Introduction
- Using gravity and charge
- Generating momentum
- Setting the link constraint
- Using force to assist visualization
- Manipulating force
- Building a force-directed graph
- Chapter 12: Know your Map
- Introduction
- Projecting the US map
- Projecting the world map
- Building a choropleth map
- Chapter 13: Test Drive your Visualization
- Introduction