visualizing_streaming_data.pdf

(33755 KB) Pobierz
Visualizing
Streaming
Data
INTERACTIVE ANALYSIS
BEYOND STATIC LIMITS
Anthony Aragues
Interactive Analysis Beyond Static Limits
Visualizing Streaming Data
Anthony Aragues
Beijing
Boston Farnham Sebastopol
Tokyo
Visualizing Streaming Data
by Anthony Aragues
Copyright © 2018 Anthony Aragues. All rights reserved.
Printed in Canada.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online edi‐
tions are also available for most titles (http://oreilly.com/safari). For more information, contact our
corporate/institutional sales department: 800-998-9938 or
corporate@oreilly.com.
Acquisitions Editor:
Rachel Roumeliotis
Development Editor:
Angela Rufino
Production Editor:
Justin Billing
Copyeditor:
Rachel Head
Proofreader:
Sharon Wilkey
June 2018:
First Edition
Indexer:
WordCo, Inc.
Interior Designer:
David Futato
Cover Designer:
Karen Montgomery
Illustrator:
Rebecca Demarest
Revision History for the First Edition
2018-05-30:
First Release
See
http://oreilly.com/catalog/errata.csp?isbn=9781492031857
for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc.
Visualizing Streaming Data,
the
cover image, and related trade dress are trademarks of O’Reilly Media, Inc.
While the publisher and the author have used good faith efforts to ensure that the information and
instructions contained in this work are accurate, the publisher and the author disclaim all responsi‐
bility for errors or omissions, including without limitation responsibility for damages resulting from
the use of or reliance on this work. Use of the information and instructions contained in this work is
at your own risk. If any code samples or other technology this work contains or describes is subject
to open source licenses or the intellectual property rights of others, it is your responsibility to ensure
that your use thereof complies with such licenses and/or rights.
978-1-492-03185-7
[TI]
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
1.
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Why Visualizations
The Standard
Terms
Data Formats
Data Visualization Applications
Assumptions and Setup
Presentation Goals
Pre-batch Analysis
The Analyst Decision Queue
Data Pipeline Visualization
Show Movement on a Map
Asking New Questions
Seeing Frequency and Order
Data Source Types
What to Stream
Data Storage Considerations
Managing Multiple Sources
How to Stream Data
Buffering
Streaming Best Practices
2
3
4
4
6
6
2.
Goals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
10
15
16
17
18
18
19
22
22
23
24
30
32
34
iii
3.
Data Sources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.
Streaming Your Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Zgłoś jeśli naruszono regulamin