Mathematica Data Visualization
eBook - ePub

Mathematica Data Visualization

  1. 146 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Mathematica Data Visualization

About this book

Mathematica, developed and maintained by Wolfram Research, is a trusted and popular tool used to analyze and visualize data.

This book begins by introducing you to the Mathematica environment and the basics of dataset loading and cleaning. You will then learn about the different kinds of widely used datasets so that you are comfortable with the later chapters. Then, in the subsequent chapters, you will learn about time series, scientific, statistical, information, and map visualizations. Each topic is demonstrated by walking you through an example project. Along the way, the dynamic interactivity and graphics packages are also introduced. Finally, the book ends with a brief discussion of color maps and aesthetics issues.

Using this book, you will learn how to build visualizations from scratch, quickly and efficiently.

Trusted by 375,005 students

Access to over 1 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Year
2014
Edition
1
eBook ISBN
9781783282999

Mathematica Data Visualization


Table of Contents

Mathematica Data Visualization
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Visualization as a Tool to Understand Data
The importance of visualization
Types of datasets
Tables
Scalar fields
Time series
Graphs
Text
Cartographic data
Mathematica as a tool for visualization
Getting started with Mathematica
Creating and selecting cells
Evaluating a cell
Suppressing output from a cell
Cell formatting
Commenting
Aborting evaluation
Upcoming chapters
Further reading
Summary
2. Dissecting Data Using Mathematica
Data structures and core languages
Introducing lists
Nested lists
Matrices
Constructing lists programmatically
Table entries with multiple elements
Accessing elements from a list
Applying set operations on lists
Functions and conditionals
Declaring and using functions
Conditionals
Further core language
Data importing and basic plots
Importing data into Mathematica
SetDirectory[] and NotebookDirectory[]
Loading the dataset
Basic plotting functions
ListPlot
Styling our plots
Plot legends
3D point plots
Log plots
Further reading
Summary
3. Time Series and Scientific Visualization
Periodic patterns in time series
Sector charts
Simulating Internet activity
SectorChart and its options
Interactive visualization of financial data
The DateListPlot function
Adding interactivity – preliminaries
Intermission – Graphics and Show
Adding interactivity – Dynamic and Refresh
Isocontour and molecular visualization
Introduction to isocontours
Example project – protein molecule visualization
Loading and visualizing the protein molecule
Preparing the isocontour plots
Adding interactivity – manipulate
Isosurface and styling
Thinking like a visualization scientist – isovalue analysis
Further reading
Summary
4. Statistical and Information Visualization
Statistical visualization
The swiss bank notes dataset
Histograms and charts
Histogram
PairedHistogram
Histogram3D
PieChart
BubbleChart
Choosing appropriate plots
A glimpse of high-dimensional data
Similarity maps
Projecting information to low dimensions
Visualizing genuine and counterfeit clusters
Similarity map for smaller datasets
Things that can (and will) go wrong
Employing the wrong distance metric
Choosing a misleading color map
Text visualization
A modified word cloud
Cleaning the data
The basic algorithm
Code and explanation
Graphs and networks
A basic graph visualization
Representing graphs in Mathematica
Visualizing the Les Misérables network
Highlighting centrality measures
Other graph layouts
3D layouts
Chord diagrams
Code and explanation
Tweaking the visualization
Further reading
Summary
5. Maps and Aesthetics
Map visualization
The GeoGraphics package
A map of our current location
Plotting a path on the map
Interactivity in GeoGraphics
Anatomy of a map visualization engine
The visual interface
Code and explanation
Aesthetics in visualization
Choosing the right color map
The rainbow color map is misleading
Understanding hue and luminance
Some better color maps
Designing the right interface
Deploying Mathematica visualizations
Looking forward
Further reading
Summary
Index

Mathematica Data Visualization

Copyright © 2014 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: September 2014
Production reference: 1180914
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78328-299-9
www.packtpub.com

Credits

Author
Nazmus Saquib
Reviewers
Roger J. Brown
Wenjun Deng
Kristjan Kannike
Commissioning Editor
Akram Hussain
Acquisition Editor
Mohammad Rizvi
Content Development Editor
Anila Vincent
Technical Editors
Venu Manthena
Aman Preet Singh
Copy Editors
Sayanee Mukherjee
Alfida Paiva
Project Coordinator
Neha Bhatnagar
Proofreaders
Martin Diver
Maria Gould
Indexers
Monica Ajmera Mehta
Tejal Soni
Production Coordinator
Manu Joseph
Cover Work
Manu Joseph

About the Author

Nazmus Saquib is a researcher at the MIT Media Lab in Cambridge, MA, where he works on data visualization, machine learning, and social computing projects. He has a bachelor's degree in Physics and a master's degree in Computational Engineering and Applied Mathematics. Saquib has been programming 3D games since middle school. As a result, he has developed and maintains a keen interest in game engines, graphics, and visualization. Throughout his academic years, he worked on a wide range of research projects, including acoustics, particle physics, augmented reality, social data mining, and uncertainty quantification. Saquib is also interested in the applications of creative computing in education and social welfare.

About the Reviewers

Roger J. Brown is the President of IMOJIM, Inc., one of the oldest commercial investment firms in San Diego, which is now completing its fifth decade. His experience includes numerous consulting and expert witness assignments, and ownership or origination of loans on various properties in seven states of the US. He obtained his PhD in Finance from Pennsylvania State University in 2000, writing his dissertation on Levy-stable (non-normal, and heavy-tailed) return distributions. He is the author of Private Real...

Table of contents

  1. Mathematica Data Visualization

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Mathematica Data Visualization by Nazmus Saquib in PDF and/or ePUB format, as well as other popular books in Computer Science & Data Visualisation. We have over one million books available in our catalogue for you to explore.