Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Apache Superset Quick Start Guide

You're reading from   Apache Superset Quick Start Guide Develop interactive visualizations by creating user-friendly dashboards

Arrow left icon
Product type Paperback
Published in Dec 2018
Publisher
ISBN-13 9781788992244
Length 188 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Shashank Shekhar Shashank Shekhar
Author Profile Icon Shashank Shekhar
Shashank Shekhar
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Getting Started with Data Exploration 2. Configuring Superset and Using SQL Lab FREE CHAPTER 3. User Authentication and Permissions 4. Visualizing Data in a Column 5. Comparing Feature Values 6. Drawing Connections between Entity Columns 7. Mapping Data That Has Location Information 8. Building Dashboards 9. Other Books You May Enjoy

Data

In this chapter, we will make use of two datasets. First, we will download the global list of airports as of 2017. We will download it from the OpenFlights website. They have multiple datasets—airports, airlines, routes, and aeroplanes in use. These are available on their data page at: https://openflights.org/data.html.

This is how it should appear: https://github.com/PacktPublishing/Superset-Quick-Start-Guide/blob/master/Graphics/Chapter%207/Chart%201.png

We will fetch the airports dataset from the following GitHub link: https://raw.githubusercontent.com/jpatokal/openflights/master/data/airports.dat. Some changes have to be made before uploading it. In the Chapter07 directory for the GitHub repository, you will find the generate_dataset.ipynb Jupyter Notebook. Run it to create the two datasets.

This is the code for creating the airports_modified.csv file:

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