Part 2 – Creating the USFlightsAnalysis PixieApp
For the first iteration of our USFlightsAnalysis
, we want to implement a simple user story that leverages the analytics created in Part 1:
- The welcome screen will show two drop-down controls for selecting an origin and a destination airport
- When an airport is selected, we show a graph showing the selected airports and its immediate neighbors
- When both airports are selected, the user clicks on the Analyze button to show a Mapbox map with all the airports
- The user can select one of the centrality indices available as checkboxes to show the shortest flight path according to the selected centrality
Let's first look at the implementation for the welcome screen which is implemented in the default route of ...
Get Data Analysis with Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.