Superset
Superset helps connect MEDomics to remote servers and databases (available from v1.7.0).
Apache Superset is an open-source software application designed for data exploration and data visualization. If offers a wide range of features such as dashboard creation, diverse charting tools, and integration with various data sources.
Superset is now integrated into MEDomics, providing users with direct access to its powerful capabilities through a single click, eliminating the need for an external work environment (e.g. ). This integration allows users to launch and utilize Superset directly within MEDomics, enabling them to visualize data, design dashboards, export charts, and moreβall within a unified platform.
On this page, we will provide a comprehensive guide on how to use Superset within MEDomics.
The Superset Panel
When you launch MEDomics, youβll notice a Superset panel located at the bottom left of the interface, as shown in the figure below. This panel provides two primary options: Launch Superset and Dashboard Viewer.

"Launch Superset" Button
Clicking the Launch Superset button initiates Superset in the background and embeds it within the MEDomics application. This feature handles all necessary configuration changes and initialization steps, such as creating a new admin user. Upon clicking the button, a progress bar will appear, indicating the status of each step in the launch process.

Once Superset is fully launched, youβll be directed to the Superset login page. Use the following default credentials to log in:
Username:
adminPassword:
admin

After logging in, you can begin exploring Supersetβs powerful data visualization and dashboard creation tools directly within MEDomicsπ.

Superset Tools
MEDomics offers integrated tools to streamline platform management without requiring you to exit the MEDomics environment. These tools include:
Refreshing the page to reload data or update dashboards.
Creating new users for collaborative access.
Editing the Superset configuration file to enable additional platform features.
Killing the Superset server once your work is complete efficient resource management.

"Dashboard Viewer" Button
The Dashboard Viewer button opens a dashboard embedder, allowing you to visualize shared dashboards using their unique Dashboard ID. This feature ensures secure access to specific dashboards while protecting sensitive data from unauthorized access.
Before using the Dashboard Viewer, youβll need a Dashboard ID. Follow these steps to retrieve it:
Open a dashboard (e.g., World Bankβs Data).
Click the three dots (
...) next to EDIT DASHBOARD.Select Embed Dashboard.
Copy the provided Dashboard ID.
Add the following address to the Allowed Domains in Supersetβs settings:
http://localhost:8888.
These steps are illustrated in the figure below.

Once youβve clicked the Dashboard Viewer button, an interface will prompt you to enter the Dashboard ID and the port of the Superset server. Since everything runs locally, Superset must also be running locally to access the dashboard. MEDomics conveniently displays the port of any active Superset instance in the background.

After entering the required information, click Connect to start visualizing your dashboard. Enjoy visualizing your dashboards π.

Export data to your workspace
Superset allows users to export data directly from the platform to their local storage. This functionality enables you to transfer your data to MEDomics's workspace, where it can be utilized in various other tools (e.g. input tools for example) for further analysis or processing. Below are the steps to export your data to the workspace:
Run an SQL Query: Start by executing a simple SQL query, such as
SELECT * FROM YOUR_DATASET, to retrieve the data you wish to export.Download to CSV: Once the query results are displayed, click the DOWNLOAD TO CSV button.
Save to Workspace: Select your MEDomics workspace as the destination and save the file.
These steps are illustrated in the figure below.

This feature ensures that your data is readily available for use across different tools within MEDomics.
Useful resources
Last updated