Interactive Visualization and Plotting with Julia - Diego Javier Zea - E-Book

Interactive Visualization and Plotting with Julia E-Book

Diego Javier Zea

0,0
33,59 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.
Mehr erfahren.
Beschreibung

The Julia programming language offers a fresh perspective into the data visualization field.
Interactive Visualization and Plotting with Julia begins by introducing the Julia language and the Plots package. The book then gives a quick overview of the Julia plotting ecosystem to help you choose the best library for your task. In particular, you will discover the many ways to create interactive visualizations with its packages. You’ll also leverage Pluto notebooks to gain interactivity and use them intensively through this book. You’ll find out how to create animations, a handy skill for communication and teaching. Then, the book shows how to solve data analysis problems using DataFrames and various plotting packages based on the grammar of graphics. Furthermore, you’ll discover how to create the most common statistical plots for data exploration. Also, you’ll learn to visualize geographically distributed data, graphs and networks, and biological data. Lastly, this book will go deeper into plot customizations with Plots, Makie, and Gadfly—focusing on the former—teaching you to create plot themes, arrange multiple plots into a single figure, and build new plot types.
By the end of this Julia book, you’ll be able to create interactive and publication-quality static plots for data analysis and exploration tasks using Julia.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 488

Veröffentlichungsjahr: 2022

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Interactive Visualization and Plotting with Julia

Create impressive data visualizations through Julia packages such as Plots, Makie, Gadfly, and more

Diego Javier Zea

BIRMINGHAM—MUMBAI

Interactive Visualization and Plotting with Julia

Copyright © 2022 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 or its dealers and distributors, will be held liable for any damages caused or alleged to have been 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.

Publishing Product Manager: Devika Battike

Senior Editor: Nazia Shaikh

Content Development Editor: Manikandan Kurup

Technical Editor: Rahul Limbachiya

Copy Editor: Safis Editing

Project Coordinator: Farheen Fathima

Proofreader: Safis Editing

Indexer: Hemangini Bari

Production Designer: Roshan Kawale

Marketing Coordinator: Priyanka Mhatre

First published: August 2022

Production reference: 1290722

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham

B3 2PB, UK.

ISBN 978-1-80181-051-7

www.packt.com

I dedicate this book to my family, especially Elin and Gaël, who have been close to me during the journey, making it possible. And to the Julia community and their open source developers who do their best to make Julia grow.

Contributors

About the author

Diego Javier Zea is a contributor to the Julia Plots ecosystem and developer of MIToS, a Julia package for studying protein sequence and structure in the Julia language. He holds a Ph.D. in bioinformatics and has worked as a postdoctoral researcher at the Leloir Institute Foundation in Buenos Aires and Sorbonne Université and Muséum National d'Histoire Naturelle in Paris. He is now an Assistant Professor at Université Paris-Saclay, studying protein structure, interactions, and evolution.

About the reviewer

Ronan Arraes Jardim Chagas received a B.Sc. degree in control and automation engineering from the University of Brasília (UnB), Brazil, in 2008, and a Ph.D. in systems and control from the Aeronautics Institute of Technology (ITA), Brazil, in 2012. Since 2013, he has been with the National Institute for Space Research (INPE) as a Space Systems Engineer. He was the mission architect and technical manager of the attitude and orbit control subsystem of the Amazonia-1 satellite. During this project, he used the Julia language to perform numerous analyses, creating important tools such as the package SatelliteToolbox.jl. His main research interests include signal processing, space systems, attitude and orbit control, and artificial intelligence.

Table of Contents

Preface

Section 1 – Getting Started

Chapter 1: An Introduction to Julia for Data Visualization and Analysis

Technical requirements

Getting started with Julia

Installing Julia

Interacting with the Julia REPL

Running Julia scripts

Installing and managing packages

Installing Julia packages

Loading packages

Managing environments

Choosing a development environment

The Julia extension for VS Code

Using Julia notebooks

Knowing the basic Julia types for data visualization

Defining and calling functions

Working with Julia types

Creating a basic plot

Plotting multiple series

Modifying plots

Scatter plots

Bar plots

Heatmaps

Simple layouts

Summary

Further reading

Chapter 2: The Julia Plotting Ecosystem

Technical requirements

Plotting libraries

Pure Julia packages

Wrappers

Understanding the Plots package

Plots' backends

Introducing Makie

Summary

Further reading

Chapter 3: Getting Interactive Plots with Julia

Technical requirements

Libraries focusing on interactivity

Modifying the underlying data

Modifying data’s perceptual formatting

Exploiting the interactivity of Plots backends

Interactive and reactive plots with Makie

Interactivity on Jupyter and Pluto notebooks

Creating interactive visualizations with Pluto

Interactive visualization with Jupyter

Sharing your interactive visualizations

Creating a Julia application

Sharing Pluto notebooks

Publishing JavaScript plots

Creating applications to serve interactive plots

Summary

Further reading

Chapter 4: Creating Animations

Technical requirements

Easy animation using Plots

Using the Animations package

Animating Makie plots

Getting started with Javis

Summary

Further reading

Section 2 – Advanced Plot Types

Chapter 5: Introducing the Grammar of Graphics

Technical requirements

Introducing the Grammar of Graphics

Working with DataFrames and tidy data

Encoding data

Exploring data with Gadfly

Introducing the Grammar of Interactive Graphics with VegaLite

Makie’s Algebra of Graphics

Summary

Further reading

Chapter 6: Creating Statistical Plots

Technical requirements

Introducing StatsPlots

Visualizing univariate distributions

Drawing histograms

Approximating density functions

Introducing boxplots

Visualizing distribution shapes with violin plots

Comparing distributions with Q-Q plots

Plotting bivariate distributions and regressions

Drawing regression lines

Creating marginal plots

Visualizing clustering results

Comparing between groups

Summary

Further reading

Chapter 7: Visualizing Graphs

Technical requirements

Working with graphs in Julia

Working with MetaGraph

Saving and loading graphs

Graph visualization packages

Visualizing graphs with GraphPlot

Exploring GraphRecipes

Creating interactive graphs with GraphMakie

Graph layouts

Analyzing graphs

Summary

Further reading

Chapter 8: Visualizing Geographically Distributed Data

Technical requirements

Creating choropleth maps

Creating a choropleth map with Plots

Creating a choropleth map with GeoMakie

Introducing OpenStreetMapX

Summary

Further reading

Chapter 9: Plotting Biological Data

Technical requirements

Visualizing phylogenetic trees

Plotting a protein sequence and structure

Exploring multiple sequence alignments

Visualizing protein structures

Creating dashboards for biological data

Summary

Further reading

Section 3 – Mastering Plot Customization

Chapter 10: The Anatomy of a Plot

Technical requirements

The anatomy of a Plots plot

Knowing the components of Makie’s figures

Exploring Gadfly’s customizable components

Summary

Further reading

Chapter 11: Defining Plot Layouts to Create Figure Panels

Technical requirements

Creating layouts with Plots

Understanding Makie’s layout system

Composing Gadfly plots

Summary

Further reading

Chapter 12: Customizing Plot Attributes – Axes, Legends, and Colors

Technical requirements

Exploring plot attributes

Using LaTeX equations

Formatting the fonts

Customizing the axes

Tailoring legends

Coloring our figures

Color attributes

Summary

Further reading

Chapter 13: Designing Plot Themes

Technical requirements

Working with themes

Using and defining themes with Plots

Theming with Makie

Using themes with Gadfly

Summary

Further reading  

Chapter 14: Designing Your Own Plots – Plot Recipes

Technical requirements

Drawing shapes

Creating plotting recipes

User recipes

Type recipes

Plot recipes

Series recipes

Writing plotting recipes for Makie

Summary

Further reading

Why subscribe?

Other Books You May Enjoy

Packt is searching for authors like you

Share Your Thoughts

Section 1 – Getting Started

In this section, you will learn the basics about Julia and its plotting ecosystem. We will start with a quick introduction to Julia for data analysis and visualization – no previous Julia experience is needed. Then, we will explore the different plotting packages in the Julia ecosystem. The initial chapters will introduce you to some basic plotting capabilities of Plots and Makie. Then, we will go deeper to see how to create interactive plots and animations with them. This section will also introduce us to Pluto notebooks, interactive and reproducible Julia notebooks that will be essential for following this book’s code examples.

This section comprises the following chapters:

Chapter 1, An Introduction to Julia for Data Visualization and AnalysisChapter 2, The Julia Plotting EcosystemChapter 3, Getting Interactive Plots with JuliaChapter 4, Creating Animations


Tausende von E-Books und Hörbücher

Ihre Zahl wächst ständig und Sie haben eine Fixpreisgarantie.