CARVIEW |
Visualizing Data
Exploring and Explaining Data with the Processing Environment
- By
- Ben Fry
- Publisher:
- O'Reilly Media
- Released:
- December 2007
- Pages:
- 384
How you can take advantage of data that you might otherwise never use? With the help of a downloadable programming environment, this book helps you represent data accurately on the Web and elsewhere, complete with user interaction, animation, and more. You'll learn basic visualization principles, how to choose the right kind of display for your purposes, and how to provide interactive features to design entire interfaces around large, complex data sets.
Enormous quantities of data go unused or underused today, simply because people can't visualize the quantities and relationships in it. Using a downloadable programming environment developed by the author, Visualizing Data demonstrates methods for representing data accurately on the Web and elsewhere, complete with user interaction, animation, and more.
How do the 3.1 billion A, C, G and T letters of the human genome compare to those of a chimp or a mouse? What do the paths that millions of visitors take through a web site look like? With Visualizing Data, you learn how to answer complex questions like these with thoroughly interactive displays. We're not talking about cookie-cutter charts and graphs. This book teaches you how to design entire interfaces around large, complex data sets with the help of a powerful new design and prototyping tool called "Processing".
Used by many researchers and companies to convey specific data in a clear and understandable manner, the Processing beta is available free. With this tool and Visualizing Data as a guide, you'll learn basic visualization principles, how to choose the right kind of display for your purposes, and how to provide interactive features that will bring users to your site over and over. This book teaches you:
- The seven stages of visualizing data -- acquire, parse, filter, mine, represent, refine, and interact
- How all data problems begin with a question and end with a narrative construct that provides a clear answer without extraneous details
- Several example projects with the code to make them work
- Positive and negative points of each representation discussed. The focus is on customization so that each one best suits what you want to convey about your data set
-
Chapter 1 The Seven Stages of Visualizing Data
-
Why Data Display Requires Planning
-
An Example
-
Iteration and Combination
-
Principles
-
Onward
-
-
Chapter 2 Getting Started with Processing
-
Sketching with Processing
-
Exporting and Distributing Your Work
-
Examples and Reference
-
Functions
-
Sketching and Scripting
-
Ready?
-
-
Chapter 3 Mapping
-
Drawing a Map
-
Locations on a Map
-
Data on a Map
-
Using Your Own Data
-
Next Steps
-
-
Chapter 4 Time Series
-
Milk, Tea, and Coffee (Acquire and Parse)
-
Cleaning the Table (Filter and Mine)
-
A Simple Plot (Represent and Refine)
-
Labeling the Current Data Set (Refine and Interact)
-
Drawing Axis Labels (Refine)
-
Choosing a Proper Representation (Represent and Refine)
-
Using Rollovers to Highlight Points (Interact)
-
Ways to Connect Points (Refine)
-
Text Labels As Tabbed Panes (Interact)
-
Interpolation Between Data Sets (Interact)
-
End of the Series
-
-
Chapter 5 Connections and Correlations
-
Changing Data Sources
-
Problem Statement
-
Preprocessing
-
Using the Preprocessed Data (Acquire, Parse, Filter, Mine)
-
Displaying the Results (Represent)
-
Returning to the Question (Refine)
-
Sophisticated Sorting: Using Salary As a Tiebreaker (Mine)
-
Moving to Multiple Days (Interact)
-
Smoothing Out the Interaction (Refine)
-
Deployment Considerations (Acquire, Parse, Filter)
-
-
Chapter 6 Scatterplot Maps
-
Preprocessing
-
Loading the Data (Acquire and Parse)
-
Drawing a Scatterplot of Zip Codes (Mine and Represent)
-
Highlighting Points While Typing (Refine and Interact)
-
Show the Currently Selected Point (Refine)
-
Progressively Dimming and Brightening Points (Refine)
-
Zooming In (Interact)
-
Changing How Points Are Drawn When Zooming (Refine)
-
Deployment Issues (Acquire and Refine)
-
Next Steps
-
-
Chapter 7 Trees, Hierarchies, and Recursion
-
Using Recursion to Build a Directory Tree
-
Using a Queue to Load Asynchronously (Interact)
-
An Introduction to Treemaps
-
Which Files Are Using the Most Space?
-
Viewing Folder Contents (Interact)
-
Improving the Treemap Display (Refine)
-
Flying Through Files (Interact)
-
Next Steps
-
-
Chapter 8 Networks and Graphs
-
Simple Graph Demo
-
A More Complicated Graph
-
Approaching Network Problems
-
Advanced Graph Example
-
Mining Additional Information
-
-
Chapter 9 Acquiring Data
-
Where to Find Data
-
Tools for Acquiring Data from the Internet
-
Locating Files for Use with Processing
-
Loading Text Data
-
Dealing with Files and Folders
-
Listing Files in a Folder
-
Asynchronous Image Downloads
-
Using openStream( ) As a Bridge to Java
-
Dealing with Byte Arrays
-
Advanced Web Techniques
-
Using a Database
-
Dealing with a Large Number of Files
-
-
Chapter 10 Parsing Data
-
Levels of Effort
-
Tools for Gathering Clues
-
Text Is Best
-
Text Markup Languages
-
Regular Expressions (regexps)
-
Grammars and BNF Notation
-
Compressed Data
-
Vectors and Geometry
-
Binary Data Formats
-
Advanced Detective Work
-
-
Chapter 11 Integrating Processing with Java
-
Programming Modes
-
Additional Source Files (Tabs)
-
The Preprocessor
-
API Structure
-
Embedding PApplet into Java Applications
-
Using Java Code in a Processing Sketch
-
Using Libraries
-
Building with the Source for processing.core
-
-
Bibliography
-
Colophon

- Title:
- Visualizing Data
- By:
- Ben Fry
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- December 2007
- Ebook Release:
- December 2008
- Pages:
- 384
- Print ISBN:
- 978-0-596-51455-6
- | ISBN 10:
- 0-596-51455-7
- Ebook ISBN:
- 978-0-596-15852-1
- | ISBN 10:
- 0-596-15852-1
-
Ben Fry
Ben Fry received his doctorate from the Aesthetics + Computation Group at the MIT Media Laboratory and was the 2006-2007 Nierenberg Chair of Design for the Carnegie Mellon School of Design. He worked with Casey Reas to develop Processing, which won a Golden Nica from the Prix Ars Electronica in 2005. Ben's work has received a New Media Fellowship from the Rockefeller Foundation, and been shown at the Museum of Modern Art, Ars Electronica, the 2002 Whitney Biennial and the 2003 Cooper Hewitt Design Triennial.
The animal on the cover of Visualizing Data is a Northern hawk owl (Surnia ulula). They are called Northern hawk owls because they are largely found in the boreal forests of North America and Eurasia, and because of their behavioral similarities to the hawk; they fly, hover, and soar low over open areas searching for prey. Also, more like hawks than owls, they predominantly use their sight, rather than their hearing, when hunting.
They are widely dispersed geographically, found from Eurasia to Norway, Sweden, and Finland; east through Siberia to Kamchatka; and in North China and Central Asia as far south as Tien Shan. In North America, they can be found from Alaska east to Labrador, Canada. They breed wherever food is plentiful; when food is scarce, they (most the young owls) may fly south of their normal distribution.
Medium-size owls, they are usually between 36-41cm long with a wingspan between 22-25cm wide. Typically, males weigh between 273-326g and females weigh more, between 306-392g. The sexes are very similar in appearance and can be most easily distinguished by their calls. The typical male call is a fast, melodious, purring trill; although the female call is similar, it has a higher pitch and is less clear.
Their heads are round and their faces whitish, bordered on each side with a thick black stripe. The upper half of their body is generally dark gray and black, with a densely spotted forehead and crown. Their tails are long with white stripes. Their bills are yellow and they have pale yellow eyes. (Young owls have golden yellow eyes that turn paler as they age.)
Northern hawk owls--unlike most other owls--are typically diurnal, meaning they hunt during the day. They feed on small mammals, such as lemmings, voles, and rabbits. Other prey includes birds, frogs, and even fish. Often, they sit on a perch--in a conspicuous spot--scoping out potential targets. Once prey is spotted, they quickly take flight and swoop down to attack. When food is plentiful, they catch an excess and hide it for later.
Their nesting period begins in April and lasts through the first of May. Males scope out potential nesting sites, and females select the spot. (They are monogamous throughout the mating season.) Potential sites include empty woodpecker holes; abandoned squirrel, crow, and hawk nests; and rotting trees. They lay between 3-13 eggs at 1 to 2 day intervals, and incubate the eggs for approximately 25 to 30 days. The males feed the females during the incubation period. Chicks leave the nest after about 25 days and can fly well by the time they are 6 weeks old.
More research is necessary to better understand Northern hawk owls--one of the least researched bird species in North America--and their habitat needs and migration patterns. Habitat destruction is a major threat to them. The removal of dead trees and stumps deprives these owls of the nesting areas they need to procreate. Other concerns include poaching (even though they are protected under the Migratory Bird Treaty Act, which makes it illegal to harm or kill certain migratory bird species) and collisions with power lines and vehicles.
The cover image is from Johnson's Natural History. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed.
![]() ©2010, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly
Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites
O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |