Book Image

Interactive Visualization and Plotting with Julia

By : Diego Javier Zea
Book Image

Interactive Visualization and Plotting with Julia

By: Diego Javier Zea

Overview of this book

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.
Table of Contents (19 chapters)
1
Section 1 – Getting Started
6
Section 2 – Advanced Plot Types
12
Section 3 – Mastering Plot Customization

Working with graphs in Julia

Graphs are mathematical structures that represent the relationship between objects. A graph is a tuple of two sets; the first contains the vertices representing the objects, while the second contains the edges describing the relationship between vertex pairs. We can also refer to graphs as networks, especially when they depict real-world systems. In that case, we can call vertices nodes and edges links. As networks represent real objects, it is common to have attributes; for example, labels for their nodes and links. We usually plot graphs using dots to represent the vertices and lines to represent the edges; therefore, it is also common to refer to vertices as points and edges as lines.

We can define different graph types according to the number and direction of the represented relationship between vertices. A simple graph has no more than one edge between vertex pairs. A graph with more than one edge between vertices – for example, one that...