APACHE SUPERSET | Shalini Chauhan

Post

APACHE SUPERSET

Apache Superset is a modern data exploration and visualization platform. It is easy for users of all skill sets to explore and visualize their data, from simple line charts to highly detailed geospatialcharts.

Features of superset

Data Visualization: Superset provides a rich set of visualization options that allow users to create a variety of charts, graphs, and other visual representations of their data.

Data Exploration: Superset allows users to explore their data through interactive data exploration tools, such as pivot tables and slice-and-dice functionality.

Data Analysis: Superset provides a range of analytical features, including the ability to create custom metrics and aggregations, as well as advanced statistical functions.

Dashboard: Superset enables users to create interactive dashboards that provide a comprehensive view of their data, allowing them to monitor key metrics and trends in real-time.

Time Series Data: Superset has built-in support for time series data, including the ability to create time-based charts and perform time-based calculations.

Authentication and Authorization: Superset provides robust authentication and authorization features, allowing administrators to control user access to data and functionality.

Integration with Databases: Superset is designed to work with a wide range of databases, including both SQL and NoSQL databases, making it a highly flexible tool for data analysis and visualization.

Extensibility and Scalability: Superset is highly extensible, with a wide range of plugins and integrations available, as well as a flexible architecture that allows for easy scaling as data volumes grow.

Dashboard and slices

In Superset, a dashboard is a collection of charts, tables, and other visualizations that allow users to explore and analyze data in a single view. A dashboard can be created by selecting the desired visualizations and arranging them on a grid layout.

Slices in Superset are individual charts or visualizations that can be added to a dashboard. Slices can be created by selecting a dataset, choosing a visualization type, and configuring the chart options. Once a slice is created, it can be added to one or more dashboards.

Dashboard consist of multiple slice. Each component/graph in dashboard is slice.

Each slice is configures with a custom query. It fetches the data from databases and it converted them into graph.

SQL LAB

Lets say we have an ecommerce website and we have table in form of daily orders

e.g. 1-may-2019 100 order

2-may-2019 150 order

3-may-2019 120 order

Through SQL LAB we can define our own query

Query → select data, ordercount from daily order

Once we write this simple query then we will get an option in superset to define our x axis and y axis. Then once we will map our column to x axis and y axis then next thing, we choose is which type of graph we want to render.

Let’s say we choose line graph that’s it. After this in dashboard one slice will be created.

we can also customize that we want to run this query for 2 days or 3 days in SQL LAB.