6 Data Visualization

 

This chapter focuses on:

  • Introducing the Julia data visualization environment
  • Creating individual plots using the Plots package
  • Building data visualization dashboards using the Makie package
  • Developing interactive plots and dashboards using the Makie package.

Welcome to the subsequent stage in our exploration of data science. After the ingestion and thorough analysis of data, we have arrived at a critical juncture: data visualization. This phase commences with the construction of an array of plots, a process that may be wholly adequate if your professional purview is exclusively confined to data science and machine learning tasks. However, it is often the case that your responsibilities will extend beyond these areas.

Data visualization is not just about fabricating visually appealing graphics. It encapsulates the art of conveying a compelling narrative through data and deriving profound insights from these visualizations. Moreover, a proficient data scientist will enable business users to generate their own visualizations by making available interactive tools.

This chapter aims to elucidate this intricate process. We will initiate our exploration with the creation of standalone plots, before advancing to the integration of these individual plots into a cohesive layout, forming a comprehensive dashboard. Our final objective entails the development of interactive dashboards, thus relinquishing control to the end-users.

6.1 Introduction to Data Visualization

6.2 Data Visualization Ecosystem in Julia

6.3 Project Description

6.4 Types of Plots

6.4.1 Line Plot

6.4.2 Scatter Plot

6.4.3 Bar Plot

6.4.4 Histogram

6.4.5 Box Plot, Dot Plot, Violin Plot

6.4.6 Heatmap

6.4.7 Surface Plot

6.4.8 Interactive Plot with StatsPlot

6.5 Creating Dashboards

6.5.1 Using the Makie Package

6.5.2 Configuring the Dashboard

6.5.3 Creating the Dashboard

6.6 Interactive Dashboards

6.6.1 Observables

6.6.2 Creating Interactive Dashboard

6.7 Summary