Skip to main content
BRILLIQS

Apache Superset

An open source platform for exploring data, building charts and publishing dashboards over any database it can connect to.

Apache Superset is an open source data exploration and visualisation platform. It connects to a database, lets you define datasets over it, build charts from those datasets without writing code and arrange the charts into dashboards. It also includes a SQL workbench for people who would rather write queries directly.

Superset in brief

Apache Superset is an open source platform for looking at data. You connect it to a database, define what a chart should be built from, build charts and put them together into dashboards.

It does not hold your data. Queries go to the database you connected, and the results come back to be drawn. Superset stores only its own metadata: the charts, the dashboards, the dataset definitions, the users.

Three layers to understand

Superset is easier to learn once you can see that it has three layers stacked on each other.

The database connection. Where the data actually lives. Configured once by someone with the credentials.

The dataset. What charts are built from. It can be a physical table, or it can be defined by a query when the shape needed is not a table that exists. Metrics and calculated columns are added here.

The chart. One visualisation, built from one dataset, by choosing a chart type and dragging dimensions and metrics into place.

Dashboards then arrange charts on a page and can apply filters across them.

Why the dataset layer earns its place

It is tempting to skip datasets and write a query per chart. The dataset layer exists because that approach falls apart quietly.

If a metric such as active accounts is written inside each chart, twelve charts hold twelve copies of that logic. When the definition changes, some get updated and some do not, and nobody notices until two dashboards disagree.

Defining it once on the dataset means every chart built from that dataset uses the same definition. This is a small piece of governance that saves a large amount of reconciliation.

SQL Lab

Not everything is best expressed by dragging fields into place, and many analysts are faster writing SQL.

SQL Lab is a query workbench inside Superset. Queries can be written, run and saved, results inspected, and a useful query turned into a dataset or a chart without leaving the tool.

The result is that one platform serves both audiences rather than forcing everyone into the same way of working.

What connecting means in practice

Superset connects through Python database drivers, which is why the list of supported databases is long. The documentation has a page per database, covering the connection string format and anything specific to that engine.

Because queries run against the connected database, dashboard responsiveness depends on that database. A slow warehouse produces a slow dashboard, and the fix belongs there rather than in Superset.

Who Superset suits

Superset suits organisations that want analytics available broadly without per user licensing shaping the decision, and teams comfortable running the platform themselves. Both chart builders and SQL writers are served.

It is also used through managed offerings, for teams that want the platform without operating it.

Points to be aware of

It is software you run. Deployment, upgrades, authentication, scaling and caching are your responsibility, and a production installation is a real piece of infrastructure rather than an application to install and forget.

Chart configuration is also broad, which means a first chart takes some exploration. The documentation covers each chart type and its options.

Getting started

The documentation includes a quickstart that runs Superset with Docker Compose, then walks through connecting a database, creating a dataset, building a chart and assembling a dashboard. Separate sections cover installation, configuration, security and each supported database.

Key features of Apache Superset

Capabilities described in the official documentation.

Charts built without code

A chart is configured by choosing a dataset, a visualisation type, dimensions and metrics through the interface.

SQL Lab

An integrated SQL workbench lets analysts write queries, inspect results and turn a query into a chart directly.

Datasets as a semantic layer

Metrics and calculated columns defined on a dataset are reused by every chart built from it.

Broad database connectivity

Any database with a supported Python driver can be connected, which covers most mainstream analytical engines.

Advantages of Apache Superset

Factual advantages that follow from the features above.

No licence cost per user

Because the project is open source under an Apache licence, adding viewers is an infrastructure question rather than a purchasing one.

Definitions live on the dataset

Metrics defined once on a dataset are used by every chart from it, so a definition does not drift between charts.

Query writers and chart builders coexist

The same tool serves people who want a point and click builder and people who prefer to write SQL.

Charts reflect the source directly

Because no copy is held, a dashboard shows what the connected database contains rather than an extract awaiting refresh.

Common use cases for Apache Superset

Situations the official documentation describes this tool as being used for.

Cross industry

Dashboards for a wide audience

Dashboards are published to a large internal audience without per user licensing shaping who is given access.

Analytics

Exploring a warehouse directly

Analysts write queries in the SQL workbench and convert useful ones into saved charts.

Technology

Visualising a fast analytical store

Charts query an analytical database directly so dashboard interactions are answered by the engine underneath.

Data governance

Standardising a metric across dashboards

A metric defined on a dataset is used by every chart built from it rather than written into each one.

Official website

Everything on this page is based on the official documentation for Apache Superset. You can read the source here.

Apache Superset official documentation

Frequently asked questions about Apache Superset

Answers taken from the official documentation for this tool.

No. It connects to your databases and queries them. It keeps its own metadata such as charts, dashboards, dataset definitions and users, but the underlying data stays where it is.

The documentation lists supported databases, and connectivity is based on Python database drivers, which covers most mainstream warehouses and analytical engines. Each database page notes any specific requirements.

A dataset is what charts are built from. It can point at a physical table or be defined by a query. Metrics and calculated columns added to it are then available to every chart built on that dataset.

The documentation covers roles and permissions, along with row level security rules that add conditions to queries based on who is running them.