Book Image

Apache Superset Quick Start Guide

By : Shashank Shekhar
Book Image

Apache Superset Quick Start Guide

By: Shashank Shekhar

Overview of this book

Apache Superset is a modern, open source, enterprise-ready business intelligence (BI) web application. With the help of this book, you will see how Superset integrates with popular databases like Postgres, Google BigQuery, Snowflake, and MySQL. You will learn to create real time data visualizations and dashboards on modern web browsers for your organization using Superset. First, we look at the fundamentals of Superset, and then get it up and running. You'll go through the requisite installation, configuration, and deployment. Then, we will discuss different columnar data types, analytics, and the visualizations available. You'll also see the security tools available to the administrator to keep your data safe. You will learn how to visualize relationships as graphs instead of coordinates on plain orthogonal axes. This will help you when you upload your own entity relationship dataset and analyze the dataset in new, different ways. You will also see how to analyze geographical regions by working with location data. Finally, we cover a set of tutorials on dashboard designs frequently used by analysts, business intelligence professionals, and developers.
Table of Contents (10 chapters)

Summary statistics – headline

Superset has a chart useful for dashboards called a headline. It is a chart that plots a single metric. Single numbers can answer key questions that we have about datasets.

In the process of analyzing the page count feature using charts in Superset, we looked at its distribution and its relationship with other features. One of the simplest questions one can ask is the average number of days required to read per page.

We will plot the average value for the page count divided by days across all books to capture the answer to that question. In Superset, we can write Custom SQL code to calculate metrics:

Customizing SQL code to calculate a metric

After clicking on the Metric, select the Custom SQL tab to write AVG(pages/days) as the code:

Average number of pages read each reading day

Information in charts must be easy to understand. The precision...