Harnessing the power of Lumin and Streamlit in Snowflake: From Data Exploration, Visualization to Decision Intelligence

Reading Time: 4 minutes

From the Author

As a data enthusiast myself, I understand the importance of data exploration, visualization, and decision intelligence in today’s data driven world. That is why I am thrilled to share with you how Lumin and Streamlit can revolutionize your data analysis experience in Snowflake, the leading cloud-based data warehouse platform. So, fasten your seatbelts as we embark on a journey to harness the true power of Lumin and Streamlit to unlock the potential of your data.

Understanding Lumin and Streamlit

Let us start by getting familiar with Lumin and Streamlit. Lumin by Fosfor, is a decision intelligence platform that seamlessly integrates with Snowflake, bringing enhanced data exploration and visualization capabilities. It allows you to dig deep into your data, uncover hidden patterns, and gain meaningful insights.

On the other hand, Streamlit is an open-source framework that enables you to build interactive data applications effortlessly. Its acquisition and integration with Snowflake allow you to pursue the principle of moving code to data instead of data to code.

Intuitive Application Program Interfaces (APIs), and the simple syntax of Streamlit enable you to iterate and experiment with your data apps seamlessly. It enables you to build native Snowflake apps, which means you can directly connect to Snowflake, access your data, and create real-time data visualizations and insights without the need for complex software integrations.

Why Lumin and Streamlit

  • Lumin empowers you to explore and analyze your data in Snowflake in an intuitively and efficiently.
  • Streamlit lets you create custom dashboards and data visualizations that showcase your data beautifully within the Snowflake environment.
  • Bringing in Lumin’s capabilities on Streamlit provides an enhanced Snowflake native experience to explore and analyze your data with ease.

Leveraging Lumin and Streamlit for data exploration

When it comes to data exploration, Lumin truly shines. Its robust features and seamless integrations with Snowflake make it a game-changer for data scientists, data engineers, and data analysts alike.

Here’s how Lumin can supercharge your data exploration journey:

  • Intuitive Data Analysis: Lumin offers a user-friendly data exploration interface that simplifies the process of analyzing your data in Snowflake. Lumin comes with a natural language interface to get the required insights rapidly and more intuitively. This interface is powered by a language model specifically trained for business use cases.
  • Powerful Visualizations: Lumin provides a wide range of visualization options to help you bring your data to life. From interactive charts to geospatial visualizations, Lumin has got you covered.
  • Data Storytelling: Lumin provides strong actionable data stories with clear insights and a shared canvas to build workspaces that curate intelligent decisions.
  • Seamless Collaboration: Lumin allows you to share your decision intelligence insights with colleagues or create and share workspace stories to collaborate in real-time. This fosters a data-driven culture within your organization.

Example 1: A real-world use case in the Retail and Consumer Packaged Goods (RCPG) Industry:

Imagine you are a data analyst working with a vast RCPG dataset in Snowflake. With Lumin, you can connect to Snowflake using the native Snowflake connector, configure the decision intelligence solution, and seamlessly start exploring the data to uncover valuable insights.

Using Lumin, you can easily analyze various aspects of your RCPG business, such as product performance, regional sales trends, and customer segmentation. The intuitive interface of Lumin enables you to ask questions and retrieve specific information effortlessly, like identifying the top 5 brands by units sold.

Visualizing your data is equally important, and Lumin provides a range of interactive charts, data explorations and visualization options to bring your insights to life. You can create visually appealing workspaces that showcase key metrics, regional comparisons, and product performances. These data stories enable decision makers to grasp the information quicker and derive actionable insights.

In the RCPG industry, understanding customer behavior and market trends is crucial for making informed decisions. With Lumin’s drill-down capabilities, you can explore the data at a granular level and uncover hidden patterns or anomalies that impact your business. For example, you can dive deeper into customer segmentation and identify high-value customer segments that drive revenue growth.

The power of Lumin gets even better when combined with Streamlit as a native Snowflake app. By leveraging Streamlit, you can build custom data apps directly within the Snowflake environment. Using Lumin as a native application in Snowflake, decision makers in the RCPG industry can transform raw data into actionable insights, make data-driven decisions, and drive business growth.

To learn more about how Lumin can revolutionize decision-making in the Retail and Consumer Packaged Goods industry, check out our detailed use case here.

Fig 1 below illustrates the power of Lumin to not just visualize your data, but also offer invaluable insights that it intuitively presents based on your querying and querying pattern.

Fig.1.Lumin native snowflake app for RCPG use case

Enhancing Data Visualization with Lumin and Streamlit
Data visualization is a powerful tool for conveying complex information in a clear and concise manner. Lumin, combined with Streamlit, takes data visualization to the next level. Here is how this dynamic duo can elevate your data visualization game in Snowflake:

  • Customizable Dashboards: With Streamlit, you can build custom dashboards tailored to your specific needs. Showcase your data in a visually stunning way, and enable users to interact with the visualizations effortlessly with Lumin’s capabilities of seamless natural language interface within Streamlit.
  • Real-Time Updates: Streamlit ensures that your dashboards stay up to date with the latest data from Snowflake. This enables decision-makers to access real-time insights and make informed choices, all this within the Snowflake environment.

Example 2: A use case of incident management in ServiceNow.

As an Information Technology (IT) operations manager, you can leverage Lumin and Streamlit to create a dynamic dashboard that displays key metrics such as incident volume, resolution time, and priority distribution. With Lumin’s seamless ask and visualization capabilities, you can ask and create interactive charts or geographical representations to visualize incident trends and patterns. These insights can also be compiled and consumed as Lumin’s workspace stories. Streamlit’s native integration with Snowflake allows you to fetch and update incident data in real-time, providing stakeholders with up-to-date insights for efficient decision-making and resource allocation.

By visualizing incident data through Lumin and Streamlit, you can identify bottlenecks in incident resolution, track service level agreement (SLA) compliance, and prioritize resources effectively. This empowers your organization to proactively manage incidents, optimize workflows, and enhance overall service delivery, all within your Snowflake environment.

Read more about the ServiceNow use case here.

Enabling Decision Intelligence with Lumin and Streamlit

Decision intelligence is all about making data-driven decisions that lead to better outcomes. Lumin and Streamlit play a crucial role in enabling decision intelligence within Snowflake. Here is how they can help you make smarter decisions:

  • Advanced Analytics Integrations: Lumin allows you to use advanced analytics techniques and machine learning models seamlessly. This empowers you to leverage predictive analytics, forecasting and on-the-fly simulation capabilities to optimize your decision-making processes.
  • Real-Time Insights: With Streamlit, you can create native Snowflake apps that provide real-time insights and enable stakeholders to make informed decisions on the fly.

How decision makers can take advantage of Lumin:

Picture yourself as a marketing manager responsible for optimizing advertising campaigns. By utilizing intelligent softwares like Lumin and Streamlit, you can build a native Snowflake app that analyzes campaign performance in real-time. By incorporating sentiment analysis, Lumin’s natural language processing and predictive models, the app can predict the effectiveness of different advertising strategies. This enables you to make data-driven decisions on budget allocation, target audience selection, and campaign optimization, improving your return on investment.


By harnessing the power of Lumin and Streamlit in Snowflake, you can take your data exploration, visualization, and decision intelligence to new heights. Whether you are a data scientist, data engineer, data analyst or a decision maker, these data intelligence platforms offer a powerful combination of features that will revolutionize the way you work with data.

So, what are you waiting for? Dive into the world of Lumin as a native application in Snowflake, unleash the full potential of your data, and make smarter decisions like never before. Start your journey today and unlock a world of possibilities!


Vishwas Jayarama

Senior Specialist at Lumin, Fosfor.

Vishwas spearheads Lumin’s expansion across multiple channels including mobile apps, SDKs and the cloud marketplace. With over a decade of experience in product and technology, he has a proven ability to transform ideas into successful ventures. His entrepreneurial spirit shines through in his impressive accomplishment of building a bootstrapped Urban Mobility startup, with a strong presence throughout India. Beyond his professional endeavors, he finds joy in playing badminton, immersing himself in music, and delving into the world of books.

Latest Blogs

See how your peers leverage Fosfor + Snowflake to create the value they want consistently.

Reproducibility in Machine Learning

Usually, Machine Learning (ML) based experimentation follows the 80/20 rule. 80% of the time spent by Data scientists is relegated to finding, cleaning, and organizing data, while the rest, only 20%, goes into analyzing or experimenting.

Read more

Revive Retail Sales With Fosfor Lumin + Snowflake + ServiceNow

There is no question that the COVID-19 pandemic has profoundly impacted the way traditional retailers or new-age eCommerce companies connect with and serve their customers—from capturing their attention online, to integrating service and delivery into a superlative customer experience.

Read more

Snowflake + Fosfor Spectra user-defined functions and expressions

In this age of data, it is growing prominently with each passing day. As the data volume increases, there is a need for something that can store and process such an amount of data more efficiently. The most popular choice to cater to this data need is Snowflake.

Read more