Interactive Visualization and Plotting with Julia: Create impressive data visualizations through Julia packages such as Plots, Makie, Gadfly, and more
- Length: 392 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2022-08-29
- ISBN-10: 1801810516
- ISBN-13: 9781801810517
- Sales Rank: #0 (See Top 100 Books)
Represent and analyze data using Plots to find actionable insights using Julia programming
Key Features
- Learn to use static and interactive plots to explore data with Julia
- Become well versed with the various plotting attributes needed to customize your plots
- Create insightful and appealing plots using data interactions, animations, layouts, and themes
Book Description
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.
What you will learn
- Create interactive plots with Makie, Plots, Jupyter, and Pluto
- Create standard statistical plots and visualize clustering results
- Plot geographically distributed and biological data
- Visualize graphs and networks using GraphRecipes and GraphPlots
- Find out how to draw and animate objects with Javis, Plots, and Makie
- Define plot themes to reuse plot visual aspect customizations
- Arrange plots using Plots, Makie, and Gadfly layout systems
- Define new plot types and determine how Plots and Makie show objects
Who this book is for
Data analysts looking to explore Julia’s data visualization capabilities will find this book helpful, along with scientists and academics who want to generate and communicate knowledge and improve their teaching material. This data visualization book will also interest Julia programmers willing to delve into the language plotting ecosystem and improve their visualization skills. Basic programming knowledge is assumed ― but the book will introduce you to Julia’s important features. Familiarity with mathematical and statistical concepts will help you make the most of some of the chapters.
Interactive Visualization and Plotting with Julia Contributors About the author About the reviewer Preface Who this book is for What this book covers To get the most out of this book Download the example code files Download the color images Conventions used Get in touch Share Your Thoughts 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
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Interactive Visualization and Plotting with Julia: Create impressive data visualizations through Julia packages such as Plots, Makie, Gadfly, and more
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.