Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Apache Superset Quick Start Guide

You're reading from  Apache Superset Quick Start Guide

Product type Book
Published in Dec 2018
Publisher
ISBN-13 9781788992244
Pages 188 pages
Edition 1st Edition
Languages
Author (1):
Shashank Shekhar Shashank Shekhar
Profile icon Shashank Shekhar

Table of Contents (10) Chapters

Preface Getting Started with Data Exploration Configuring Superset and Using SQL Lab User Authentication and Permissions Visualizing Data in a Column Comparing Feature Values Drawing Connections between Entity Columns Mapping Data That Has Location Information Building Dashboards Other Books You May Enjoy

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...

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 $15.99/month. Cancel anytime}