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)

Sunburst chart

Sometimes, it is useful to measure relationships between entities relative to a common denominator. In the case of trade flow data, let's try to visualize the fraction of the global export that each nation services. To do this, we will use a Sunburst chart.

We will take a snapshot of the time-series data and select the trade flow that took place in the year 2013. For this, we will use the Custom Where clause. In the Hierarchy field, set exporter and importer as the parent-child relationship. In the Primary Metric, select SUM(import_in_us_billion) and set its name as total_trade_volume:

Setting parameters for the Sunburst diagram to display trade flow in 2013

Perfect! Now just click on Run Query to render your Sunburst chart Global Trade Flow Between Nations in 2013:

The Sunburst diagram displaying trade flow in 2013

Selecting a parent entity from the inner...