Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.67 KB

File metadata and controls

41 lines (26 loc) · 1.67 KB

Dash App

The Dash app enables interactive data analysis at the county level.

Layout and functionality

The layout of the Dash app is shown in the figure below.

The app consists of three areas:

  1. Map area (middle left)
  2. Graph area (middle center and right)
  3. Job List (bottom)

A map with the German counties is displayed in the map area. The colors of the counties are based on the number of Data Science jobs.

The Geojson File used in the map was downloaded from the site opendatasoft and was simplyfied by using the online tool Mapshaper.

The graphics in the graph area (detailed information) and the job list contain county data. These areas will be updated if the user clicks on a county in the map.

The graph area consists of two graphics. The user can select via a dropbox menu which variable should be displayed in each chart.

The Dash app is responsive and therefore it works on small screens like smartphones.

Installation and running

The following steps must be performed to start the Dash app:

  1. Make sure that the following packages are installed:
    • pandas (1.4.0)
    • pymongo (4.0.1)
    • plotly (5.6.0)
    • dash (2.2.0)
    • dash_bootstrap_components (1.0.3)
    • wordcloud (1.8.1)
  2. Import the Mongo DB database dump (data/stepstone-data.zip) to your Mongo DB database server (mongorestore).
  3. Go to the dbConnection.json file in the Dash folder and check the database connection settings (uri and database name).
  4. Open the dashboard.py file in the dash folder and run it.