Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Interactive Visualization and Plotting with Julia

You're reading from   Interactive Visualization and Plotting with Julia Create impressive data visualizations through Julia packages such as Plots, Makie, Gadfly, and more

Arrow left icon
Product type Paperback
Published in Aug 2022
Publisher Packt
ISBN-13 9781801810517
Length 392 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Diego Javier Zea Diego Javier Zea
Author Profile Icon Diego Javier Zea
Diego Javier Zea
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Section 1 – Getting Started
2. Chapter 1: An Introduction to Julia for Data Visualization and Analysis FREE CHAPTER 3. Chapter 2: The Julia Plotting Ecosystem 4. Chapter 3: Getting Interactive Plots with Julia 5. Chapter 4: Creating Animations 6. Section 2 – Advanced Plot Types
7. Chapter 5: Introducing the Grammar of Graphics 8. Chapter 6: Creating Statistical Plots 9. Chapter 7: Visualizing Graphs 10. Chapter 8: Visualizing Geographically Distributed Data 11. Chapter 9: Plotting Biological Data 12. Section 3 – Mastering Plot Customization
13. Chapter 10: The Anatomy of a Plot 14. Chapter 11: Defining Plot Layouts to Create Figure Panels 15. Chapter 12: Customizing Plot Attributes – Axes, Legends, and Colors 16. Chapter 13: Designing Plot Themes 17. Chapter 14: Designing Your Own Plots – Plot Recipes 18. Other Books You May Enjoy

What this book covers

Chapter 1, An Introduction to Julia for Data Visualization and Analysis, introduces the minimal Julia concepts needed to create basic plots using the Plots package, in particular, heatmaps and scatter and line plots. To that end, it will introduce basic data types that serve as input for plotting functions. This chapter will cover the use of packages and how to work with reproducible project environments. It also presents different Julia developing environments. Among those, we will start working with Pluto notebooks—heavily used through this book. All in all, this chapter offers the essential knowledge needed for the rest of the book.

Chapter 2, The Julia Plotting Ecosystem, presents the Julia plotting ecosystem, showing the different plotting libraries available and their relation. Among those packages, we will focus on Plots and Makie—this chapter introduces the latter—and their backends. After reading this chapter, you should be able to choose the most appropriate plotting library for your data visualization task.

Chapter 3, Getting Interactive Plots with Julia, describes how to get interactive plots using Julia. First, this chapter will go through different kinds of interactivity, highlighting the packages that allow you to access them. Among those packages, it presents the Observables package, an essential package in the Julia ecosystem for developing interactive visualizations. Then, this chapter goes deeper into reaching interactivity with Plots and Makie packages and their backends. After that, it introduces the Interact and PlutoUI packages to create interactive visualizations using Jupyter and Pluto notebooks, respectively. Finally, it presents tools to publish and share interactive visualizations using dashboards, web pages, and simple graphical user interfaces.

Chapter 4, Creating Animations, teaches you how to create animations with Plots and Makie. Also, it will help you determine when it could be helpful to produce animations. Finally, this chapter introduces Javis, a drawing library to generate animations in Julia.

Chapter 5, Introducing the Grammar of Graphics, covers the Julia plotting packages based on or inspired by The Grammar of Graphics, namely, Gadfly, VegaLite, and AlgebraOfGraphics. It will also introduce the DataFrames package, crucial for working with tidy data in Julia. Therefore, this chapter is essential for starting to analyze and visualize data.

Chapter 6, Creating Statistical Plots, shows you how to create the most common statistical plots using the different Julia libraries. In particular, this chapter will focus on Plots, Makie, and Gadfly. This chapter, together with the previous one, gives you an excellent primer to start performing data analysis and data visualization tasks with Julia.

Chapter 7, Visualizing Graphs, introduces the LightGraph and MetaGraphs packages to work with graphs and networks. Then, it shows us how to visualize them using GraphPlot, GraphRecipes, and GraphMakie.

Chapter 8, Visualizing Geographically Distributed Data, showcases how to visualize geographically distributed data with choropleth plots using Plots and GeoMakie. After that, the chapter will examine the creation of street maps using the OpenStreetMapX package.

Chapter 9, Plotting Biological Data, shows different packages that allow the visualization and analysis of biological data. In particular, the chapter focuses on visualizing phylogenetic trees, multiple sequence alignments, and protein structures. Finally, it shows how to create a dashboard using DashBio to develop interactive visualizations for biological data.

Chapter 10, The Anatomy of a Plot, explains a plot’s different components. That knowledge is needed to understand the organization of the attributes for customizing those components. To that end, the chapter introduces the different terminology that Plots, Makie, and Gadfly use for their plot elements.

Chapter 11, Defining Plot Layouts to Create Figure Panels, describes how to compose multiple plots into one. To that end, it will first present the powerful Plots layout system. After that, it will introduce the layout capabilities of Makie and Gadfly.

Chapter 12, Customizing Plot Attributes – Axes, Legends, and Colors, covers some interesting attributes to customize your plots—focusing on the Plots package. The chapter first gives you the tools needed for exploring the Plots and Makie attributes without leaving your Julia session. Then, it shows you how to insert LaTeX equations into your Plots and Makie figures. After that, this chapter will teach us how to customize text elements, axes, legends, and colors.

Chapter 13, Designing Plot Themes, shows how to define plot themes—needed to reuse customizations—or use the predefined ones. In particular, this chapter will discuss theming in Plots, Makie, and Gadfly.

Chapter 14, Designing Your Own Plots – Plot Recipes, introduces the Plots and Makie recipe systems to create custom visualizations or whole new plot types. The chapter also shows how to draw shapes and create custom markers using Plots.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image