
Explore Apache Superset architecture, Docker fundamentals, install and run Superset, upload data, build dashboards, and prepare production deployments on AWS with security, CSS templates, and Snowflake integration.
Targeting a broad technical audience, this course teaches how to set up, customize, and scale Apache Superset from local to cloud, with Docker, dashboards, SQL-based visualizations, and row-level security.
Learn essential SQL concepts including joins, subqueries, and aggregates, plus Python basics for Superset configuration and Docker setup to run Apache Superset reliably.
Set up tools: Docker to run Apache Superset with Redis and PostgreSQL, Visual Studio Code as editor, DBeaver for SQL, Chrome for Chromium based environments, and a terminal for commands.
Set right expectations by exploring Apache Superset's built-in visualizations, focusing on main types, configuration, bottlenecks, and limitations to understand how to work with it.
Explore Apache Superset, an open source business intelligence platform with a no-code UI and built-in SQL Lab for ad hoc queries, rich visualizations, and a lightweight semantic layer.
Explore how superset compares with Tableau, Looker, and PowerBI across pricing, deployment, visualization, AI out of the box, and community, as an open source cloud-native BI tool worth learning.
Explore Superset architecture across the front end, back end, and metadata storage, including React and TypeScript UI, a Flask-based server with SQLAlchemy, and a flexible metadata store.
Compare Apache Superset installation methods—Kubernetes, pip, and Docker—and learn why Docker enables a cross-platform, containerized setup (with WSL2 on Windows) for this course.
Master Docker fundamentals for Apache Superset, including containers, images, Dockerfiles, volumes, networking, and Docker Compose, with practical demos to run containerized data tools and connect to metadata databases.
Docker packages an application with code, libraries, and settings into a container that runs identically anywhere. This eliminates the works on my machine problem by ensuring consistent behavior.
Packages code and dependencies into a self-contained, portable container that runs reliably across environments. Isolate containers from the host to ensure independence and security, using images to define contents.
Bundle code, libraries, binaries, and configuration into immutable Docker images built in layers, a portable blueprint that can be shared and deployed anywhere.
Discover how Docker Hub hosts official and verified images, then run a Hello World container with docker run to verify installation and glimpse container lifecycle via docker ps.
Learn to build custom docker images with a dockerfile using from, workdir, copy, run, env, and expose. Build a Flask app, run it in a container, and deploy Superset.
Containerize a flask app with docker by writing a dockerfile, building an image, and running a container; expose port 5000 and map to a host port for browser access.
Discover docker networking basics, including internet access for containers, default inbound block, port publishing with -p, and how bridged and user defined networks let containers communicate by IPs or names.
Explore docker networking with two BusyBox containers to see IP-based communication. Create a user defined network to enable name based resolution and container discovery.
Explore how docker volumes provide persistent storage to safeguard dashboards and settings when containers restart, including PostgreSQL as a metastore. Compare anonymous, named, and bind mount volumes.
Explore how to use a bind mount with docker to serve a basic html page via jinx, map host directories with -v, and observe live updates in the browser.
Explore docker compose to define and run multi-container applications for superset, using a single yaml file to manage services, networks, postgres, redis, and volumes, enabling isolated, portable, and local development.
Demonstrate Docker Compose by spinning up Postgres and MySQL with init SQL scripts and a three-file setup. Compare bind mounts and named volumes, then prepare to use Superset.
Learn to clean up your docker environment by stopping and removing containers and images, pruning volumes and networks, and understanding default networks that cannot be removed.
Follow the chapter roadmap for installing Apache Superset with Docker, explore the UI and dashboards, and learn how datasets connect to data.
Discover essential resources for Apache Superset, including official docs, preset documentation, GitHub releases, and Docker Hub tags, to install, configure, and troubleshoot with confidence.
Explore the superset config.py to customize behavior, including database settings, branding, feature flags, and caching. Apply best practices with environment variables, version control, and Docker restart to activate changes.
Install Apache Superset with Docker Compose by building a custom image, configuring settings, creating an admin user, and loading sample dashboards to explore the interface.
Explore the superset user interface by navigating dashboards, charts, and data sets, learn how filters, certified data, and SQL lab enhance querying, visualization, and collaboration.
Explore Apache Superset dashboards by examining pre-built visuals—donut charts, tables, maps, bars, and Sankey charts—and learn to use filters, cross-filtering, and drill options to build organized, interactive dashboards.
Explore datasets in Apache Superset, distinguishing physical and virtual datasets, and learn how metrics, columns, and calculated columns power visualizations while noting no built-in data modeling or cross-database joins.
Create a simple yet realistic Covid dashboard in Apache Superset by exploring the dataset, spinning up PostgreSQL in Docker, configuring Superset, and building charts into a dashboard.
Explore a public COVID-19 dataset, clean and convert it to a table in Excel, and perform aggregations, comparisons, and breakdowns across countries and regions for a Docker-based Apache Superset project.
Outline the project structure for a three-container Apache Superset setup, with a Covid dataset database, a separate metadata database, and a main app, using env files for portability.
Spin up a PostgreSQL container for the covid dataset, defining a Dockerfile, init SQL script, and an env file. Then use docker compose to build, run, and verify the database.
Configure a Postgres metadata service with Docker Compose, load env vars from dotenv files, customize Superset, enable horizontal filter bar, and launch the app to connect to metadata and Postgres.
Connect superset to a postgres database inside a docker container, run a sample query in sql lab, and create a dataset to start building charts.
Build a world map chart showing deaths by country with a death metric and a casewhen expression to fix country region. Adjust colors and adaptive formatting, then save and proceed.
Create a pie chart from the total recovered by regions dataset, convert it to a donut chart, customize colors and inner radius, and save the chart in Superset.
Build three big number cards for new cases, new deaths, and new recovered cases by creating and duplicating charts, adjusting text size, and saving each as a separate visualization.
Build a bar chart of disease dynamics by countries using a calculated column (new cases minus recovered) in the dataset, then refine with color coding, sorting, and a data zoom.
Create a COVID dashboard in Apache Superset by dragging visualizations into a layout with headers and markdown, maps, pies, and bars with country and deaths filters on a horizontal bar.
Discover why csv uploads in Superset require a separate database, that Superset doesn't store data, and the trade-off between flexibility and control when enabling uploads.
Explore the roadmap from version 4 to 6, including ui changes, sql lab updates, toml, custom head tag injections, ant design theming, and jinja capabilities.
The lecture compares Superset 4 to 6 UI updates, highlighting brighter colors, updated fonts and labels, themeable layouts with dark mode, and improved SQL lab data preview and column handling.
Learn how uv, a fast, all-in-one Python package manager written in Rust, replaces pip, and handles virtual environments, dependencies, and Python versions, while understanding TOML-based pyproject configurations.
Run a postgres metadatabase and the superset app with docker-compose, then compare pip, uvnative, and uvwithpipcompatibility installation approaches. Establish the postgres–superset connection, run health checks, and access localhost:8088.
Customize your superset instance by applying branding colors, updating the logo, icon url, and tooltip, and update the favicon; then apply custom themes to align with your organization's branding.
Set up a two-container docker environment for the superset project, including metadata database and custom logos and favicon, then iterate by updating the superset config to observe UI changes.
Customize the Apache Superset logo in a docker setup by adjusting the logo target path, image, width, and tooltip, then add right-side text and restart the container to apply changes.
Modify the browser tab layout in Superset by updating the favicon and tab text, using Visual Studio Code to edit the config and restart the container.
Explore how to customize superset 4.1.3 theming with theme overrides in docker, injecting at runtime while adjusting primary and secondary colors, grayscale, and border radius, noting limitations and deprecated approach.
Explore how to inject custom HTML into every page head using an optional template in Superset 5 and 6, enabling global branding, banners, and css and js customization.
Discover Superset 6.0's token-based theming with AntD, using design tokens to customize colors, typography, borders, and dark mode. Apply globally and generate a config JSON for consistent UI.
Learn how to enable and manage themes in Superset 6, customize via the UI and tokens, apply default and dark themes, and integrate a custom logo across Docker-based deployments.
Connect to Snowflake, set up a dataset, and configure Superset to power a dashboard; apply custom color palettes for branding and explore filters, their types, and configurations.
Snowflake, a fully managed cloud data platform, separates storage and compute for elastic scalability and cost efficiency, with a three-layer architecture and easy superset integration for analytics.
Create a Snowflake trial account for this chapter by signing up, activating via email, and setting your username, then continue to learn dataset preparation in Snowflake.
Explore the snowflake role model and create a minimal read-only custom role to connect superset with snowflake, then examine the tpc-h dataset and its customer, orders, and lineitem tables.
Prepare a Snowflake dataset for Apache Superset by creating warehouses, setting role permissions, building a superset database and denormalized views, and loading sample data for dashboards.
Configure and launch a Superset instance with Docker and Snowflake, adjusting the Dockerfile, Superset config, and environment variables to connect to Snowflake and prepare dashboards.
Register a dataset in Superset by adding a Snowflake connection, selecting the public schema and view, and creating the dataset from the widget menu.
Create a big number with a trend line showing net revenue trend in Superset by selecting a date column, setting monthly granularity, and applying a three-month moving average.
Create a world map chart to visualize revenue by country, fix the country field to full name, save as country level revenue, and scale Snowflake warehouse to medium.
Build a line chart to track revenue trends by region, using order date on the x axis with the monthly time grain and net revenue as the sum.
Build a bar chart to compare countries by net revenue, using the sum as the metric and the countries as the x axis, with ten rows and a descending sort.
Build a pie chart to show how market segments contribute to total revenue, highlighting proportions. Drag market segment and net revenue, customize the rows type, and save.
Explore building a calendar heatmap in apache superset to visualize daily revenue intensity, configure time ranges, adjust visuals, and optimize for dashboard clarity.
Build a tree map to visualize net revenue by market segment with rectangles showing parts of a whole and hierarchies; note Superset lacks interactive drill down and labels/colors affect readability.
Create a data table in Apache Superset by selecting raw records, dragging columns, and applying nested sorting on order date and net revenue, with server pagination for large datasets.
Assemble a sales revenue dashboard in Apache Superset by arranging visualizations into sections, including a trendline, pie chart, map, calendar heatmap, treemap, and a data table with markdown.
Explore how to apply custom color palettes in Apache Superset, using sequential and categorical color schemes to highlight trends and categories, and integrate branding colors through the Superset config.
Apply dashboard level color schemes and enable the treemap drill flag to drill down by nation; note world map and calendar heatmap colors follow dashboard settings.
Configure filters in superset, including value and time range types, with region and nation pre-filters to shape a dashboard across all visuals.
Explore how to customize dashboards in Apache Superset, from coloring and CSS customization to dynamic SQL with Jinja, and set up static and dynamic row-level security with roles and permissions.
Learn to edit dashboard properties, customize the URL slug, and override colors for specific values using the advanced JSON settings, then apply and save changes.
Explore how to inspect superset dashboards, identify div containers, and target elements with css using ids, nth-of-type, and classes. Learn to override default styles with important for precise design tweaks.
modify a superset dashboard by copying it, inspecting elements, and editing css to change background colors, round chart corners, and style headers with padding and borders.
Embed a branding image in a Superset dashboard with CSS, loading an AWS S3 image, resolving content security policy issues, and positioning via an after pseudo-element.
apply the nth of type selector in css to target the fifth drag droppable row header, using the dashboard component header class, and observe the change after saving, then revert.
Apply consistent branding across Apache Superset dashboards by creating and loading a CSS template named main, enabling styling of headers, dashboards, and chart holders without per-dashboard edits.
Explore jinja templates in superset to inject variables and logic into sql queries, enabling dynamic, user-specific filtering, access control, and url-driven dashboards.
Switch between sum and average by building a virtual data set with Jinja templating and a dashboard filter to recalibrate charts.
Learn how to use Jinja in Apache Superset to filter dashboards by market segment without changing the dataset, using a CTE, filter values, and in-operator logic.
Learn to use the url param jinja macro in apache superset to pass filter values through dashboard urls, enabling sharing dashboards with predefined filters such as nation parameter.
Recreate a dashboard by embedding an internet image, making it circular with talisman, and build a Jinja dataset that greets the user with a timestamp while hiding the chart title.
Explore default roles in Apache Superset, including Admin, Alpha, Gamma, and the public role, and how policy-based permissions control dashboards, data sources, and SQL Lab.
Create a new user, assign a custom role with data set permissions, and publish dashboards to grant access to charts while ensuring filters load only when data sets are accessible.
Explore static row level security in Superset, where hardcoded policies use regular or base filters to modify where clauses, and configure rules in settings attached to roles.
Demonstrate creating a static dataset and treemap, then configure two regular row level security policies with group keys to show how or and and combinations constrain regions and market segments.
Configure static row level security with a base type in Apache Superset by creating roles, assigning users, and applying a not in region filter.
Explore dynamic row level security in Apache Superset using Jinja templating with a Snowflake backend, creating a region access mapping and macros to tailor data by user roles.
Learn how to retrieve and filter user roles in Superset 6 using the built-in current user roles macro, with a live SQL Lab example and where-in filter.
Explore advanced temporal filtering in superset using the get time filter macro and template processing to push time constraints into inner queries for performance optimization and support for relative dates.
Learn to build a custom handlebars visualization in Apache Superset to render employee rating cards with images, colors, and stars, using SQL Lab datasets and templates.
Wrap up this chapter and prepare for the next with a new docker image for superset features; export a dashboard to explore, then declutter by removing unused images and volumes.
Explore how to set up superset with Redis and Celery, configure alerts and reports, and implement scheduled reports and threshold notifications for robust analytics deployment.
Explore alerts and reports in Superset, automated notifications triggered by data conditions and scheduled dashboard snapshots delivered via email or Slack, with Gmail examples.
Compare current and target Superset setups, showing how Redis and Celery enable caching and asynchronous tasks to boost UI responsiveness, unlock alerts and reports, and improve scalability.
Understand caching basics, including cache hit and miss, and how Redis provides fast in-memory caching and as a message broker with producers, consumers, and queues.
Explore Celery, an open source task system for asynchronous execution and scheduling with workers and Celery Beat. Use Redis as broker and result backend to queue, distribute, and track tasks.
Explore the project setup for a dockerized Apache Superset deployment, including a dedicated config, sql directory for alerts, centralized envs, and dual docker compose files for one-time init.
Prepare the project by defining requirements.txt and environment files, install PostgreSQL and a Snowflake connector, set up celery with Redis, Gunicorn, and Pillow, and enable alerts and reports in config.
Use shell scripts to initialize and upgrade the superset metadata database, create an admin user and credentials, and run superset with gunicorn and event workers for scalable docker deployment.
Initialize a Superset instance with docker compose, import a snowflake dashboard from a zip, and upgrade from 4.1.2 to 4.1.4 while preserving the dashboard and noting color changes.
Configure celery and Redis in Superset, enabling state, explore formdata cache, cache config, and data cache config, plus celery broker and result backend with Redis.
Install a headless browser for dashboard screenshots by adding Firefox to a custom Dockerfile, updating the Gecko driver to 33, and turning off dry run mode in the subset config.
Configure Gmail SMTP for Apache Superset alerts and reports by generating an app password and adding email configurations (SMTP user and password) to the superset environment.
Configure Gmail SMTP in Superset, fix config typos, and enable scheduled reports by creating a report task for a dashboard, scheduling every five minutes, and sending the png via email.
Learn to create and schedule reports in Apache Superset every 12 minutes, switch content to chart, export as CSV, and email CSV attachments for market segment revenue share data.
Set up an alert in Apache Superset by supplying a numeric query and threshold, trigger when discounts exceed 50%, and receive hourly email notifications with a chart image.
Clean up the dockerized superset setup by bringing down services with docker compose down, removing containers and images, and preserving volumes to keep the metadata database intact for future use.
Welcome to "Apache Superset: From Zero to Hero with Docker and AWS"!
This hands-on course is designed to take you from your very first dashboard to a fully deployed production environment in the cloud.
Apache Superset is one of the fastest-growing open-source BI platforms used by data teams worldwide. Whether you're a Data Analyst, BI Developer, or Data Engineer, this course will guide you step by step through installation, configuration, dashboard building, customization, and enterprise-grade deployment.
By the end of the course, you’ll be able to:
Install and run Superset locally using Docker
Build interactive dashboards and visualizations
Connect to databases like PostgreSQL and Snowflake
Customize Superset to match your brand
Implement advanced features such as Jinja templating, Row Level Security, and custom styling
Set up alerts, reports, and background task processing
Deploy your Superset environment on AWS with production-ready components
This course focuses on real-world examples, clear explanations, and practical demonstrations - no unnecessary theory, just the knowledge you need to become confident with Apache Superset.
Section 1: Introduction
Get to know the course, its audience, and what tools we’ll use.
Meet your instructor and understand course goals
Learn who this course is for and what to expect
Review the setup and tools required
Section 2: Overview
Understand Superset’s architecture and how it compares with other BI tools.
Explore Superset’s core components and data flow
Compare Superset with Tableau, Power BI, and Looker
Learn about different installation options
Section 3: Docker Introduction
Build the foundation to run Superset locally using Docker.
Learn what containers, images, and volumes are
Understand Docker Compose and how services interact
Section 4: Getting Started with Superset
Dive into the Superset UI and learn its core capabilities.
Explore dashboards, datasets, and visualizations
Understand the navigation and main features
Discover how Superset organizes data sources
Section 5: Building the COVID-19 Dashboard
Create your first interactive dashboard using real data.
Connect Superset to a database
Build and configure visualizations step by step
Assemble and publish your first dashboard
Section 6: Superset 5.0 & 6.0 Updates
A newly added chapter that introduces key updates from newer versions of Superset.
Configure newer superset versions
Dive into AntD theming for in-depth customisation
Learn new Jinja capabilities and visualisations
Section 7: Customization
Make Superset reflect your brand and style.
Change logos, colors, and themes
Section 8: Snowflake Dashboard
Work with a cloud data source and advanced filters.
Connect Superset to Snowflake
Explore datasets and build a new dashboard
Learn Superset filtering in detail
Section 9: Advanced Features
Unlock Superset’s most powerful capabilities.
Use Jinja templating for dynamic queries
Implement Row Level Security (RLS)
Manage roles and permissions
Add custom CSS styling
Section 10: Alerts & Reports
Enable automated reports and notifications in Superset.
Set up Celery and Redis for async tasks
Configure email alerts and report scheduling
Understand production-level configuration needs
Section 11: AWS Deployment
Deploy Superset in the cloud like a pro using IaC approach.
Set up Superset on AWS ECS Fargate
Integrate with RDS PostgreSQL and Redis
Ensure scalability, reliability, and secure access