TEMPLATES

Exploratory Analysis

Deep dives, rabbit holes, side quests, and ad-hoc explorations.

ad-hoc cover
Featured

Ad-hoc exploration

Izzy Miller, Dev Advocate at Hex

Answer complex questions fast, and communicate results clearly

interactive stories cover

Interactive Data stories

Izzy Miller

Build rich, interactive data stories and documents

SQL notebooks grid image

SQL Notebooks

Izzy Miller

The most powerful SQL IDE ever made

EDA grid image

Exploratory Data Analysis

Izzy Miller

Make EDA easy with Hex's powerful data platform

Text to SQL

Text to SQL Chatbot

Jordan East

Learn how to build your own text to SQL chatbot in Hex using OpenAI and LangChain

Polyglot grid image

Polyglot Notebooks

Polyglot notebooks for data science

No-code grid image

No-code Notebooks

Powerful data exploration without writing a line of code

Don't see what you need?

We're always expanding our collection of examples and templates. Let us know what you're working on, and we'll whip up an example just for you.

Request a template

A quick guide to Exploratory Analysis

Exploratory analysis and ad-hoc analysis sit at the core of insightful data work. This goes way beyond the confines of the Google definition for "Exploratory Data Analysis"; Far beyond just descriptive statistics, these are all the ad-hoc questions you dig into data to answer, the entire process of untangling a brand new dataset to figure out what's what, every working session that starts with "I wonder...".

Every time you're answering a specific business question, analyzing individual user behavior, or investigating an unexpected trends in order volume— you're doing an ad-hoc or exploratory analysis. This isn't about pre-defined paths or rigid frameworks—it's about embracing those "I wonder..." moments and following them to their logical conclusion.

Say you find yourself pondering why a certain product's sales suddenly plummeted, or you're curious about the patterns in an individual user's activity on your platform, or maybe you're just surprised by an unexpected spike in website traffic. That's where exploratory and ad-hoc analysis come into play. Each question leads you on another branch of exploration, opening doors to fresh insights and perspectives.

Importantly, once you've:

  • Formulated specific questions or identified areas that call for a deeper dive

  • Identified and curated the relevant data

  • Gone on your analytical adventure, mapped out all the correlations, hunted down the anomalies, and pieced together the puzzle

You have to do the most important part: Transform the raw data you've discovered into an engaging narrative that you can show to stakeholders and use to drive informed decisions.

The exploratory journey might usually start with a simple question, but it often ends with a rich tapestry of insights that weave together threads across user behavior, business strategy, and more. On this page, you'll find interactive examples demonstrating typical scenarios of exploratory and ad-hoc analysis.

If you see something interesting, click "Get a copy" to dive deeper and adapt any example to your requirements.

See what else Hex can do

Discover how other data scientists and analysts use Hex for everything from dashboards to deep dives.

TEMPLATE
SQL notebooks grid image

SQL Notebooks

Izzy Miller

The most powerful SQL IDE ever made

TEMPLATE
Polyglot grid image

Polyglot Notebooks

Polyglot notebooks for data science

BLOG
sql-notebooks-sql-runners-hero

SQL Notebooks > SQL Runners

Izzy Miller · April 13, 2022

SQL finally gets literate programming

BLOG
stop-using-so-many-CTES-hero

Stop using so many CTEs

Claire Carroll · July 21, 2022

Why it's time to "break up" with your favorite SQL feature

USE CASES
use-case-category-grid-image-parameterized-queries

Parameterized Queries

Multiple contributors

Upgrade your projects with parameterized SQL queries. Create interactive dashboards and exploratory data analysis with SQL queries that dynamically react to user input using Hex.

BLOG
Iterating on analytics

One Chart Forward, Two Queries Back

Matt Palmer · August 22, 2023

See how using an end to end tool like Hex makes iterating on an analysis faster than using multiple tools

FAQ

What is the difference between a hypothesis-testing and an exploratory functional analysis?
chevron-down

Hypothesis-testing analysis is a confirmatory process where specific hypotheses, formulated before the analysis, are tested. It involves statistical tests to determine if there is enough evidence to reject the null hypothesis. On the other hand, exploratory functional analysis is a more open-ended process, often carried out when we don't have a clear hypothesis. It's used to discover patterns, relationships, or trends in the data, which can inform subsequent hypothesis formulation.

What is the role of exploratory graphs in data analysis?
chevron-down

Exploratory graphs play a critical role in data analysis by allowing us to visually inspect the data. They help in identifying patterns, relationships, trends, and outliers, which might not be apparent from raw data. Graphical representation of data aids in understanding complex data sets, communicating findings, and supporting decision-making processes.

What four statistical techniques are used in exploratory data analysis?
chevron-down

Some common statistical techniques used in EDA include: Descriptive Statistics (mean, median, mode, standard deviation, etc.) for understanding basic features of the data; Data Visualization (boxplots, histograms, scatter plots, etc.) to see patterns and relationships visually; Correlation Analysis to understand the relationships between variables; and Hypothesis Testing to check assumptions or compare groups in your data.

Why do we perform exploratory data analysis?
chevron-down

We perform exploratory data analysis to understand the main characteristics of our data, detect outliers or anomalies, uncover patterns, identify relationships among variables, and formulate hypotheses for further analysis. EDA helps us to make informed decisions and provides a solid foundation for the subsequent stages of the data analysis process.

How do you perform exploratory data analysis in Python?
chevron-down

In Python, libraries like Pandas, NumPy, Matplotlib, and Seaborn facilitate exploratory data analysis (EDA). These tasks usually involve reading the data (Pandas), cleaning and preprocessing the data (Pandas and NumPy), summarizing the data (Pandas), and creating visualizations (Matplotlib and Seaborn) to understand underlying patterns, trends, and outliers.

What is exploratory factor analysis?
chevron-down

Exploratory factor analysis (EFA) is a statistical technique used to identify the underlying relationships between measured variables. It's commonly used when you have a large set of observed variables and you want to understand the latent factors that cause these variables to covary.

How do I handle 'noisy' or messy data in exploratory and ad-hoc analysis?
chevron-down

Handling 'noisy' data often involves data cleaning and preprocessing steps, such as dealing with missing values, outliers, or inaccuracies. This can be a time-consuming but essential part of the exploratory process, ensuring the reliability of your insights.

Can exploratory and ad-hoc analysis help in predictive modeling?
chevron-down

Yes, they can help identify key variables and relationships that could inform predictive models. For instance, if exploratory analysis reveals a strong correlation between two variables, that relationship might be used in forecasting future trends.

How does exploratory and ad-hoc analysis fit into the overall data analysis workflow?
chevron-down

These types of analysis often form the initial stage of the data analysis workflow, providing direction for further investigation. After exploratory and ad-hoc analysis, you might proceed to more formal analysis or modeling, using insights gathered to inform your approach.

What role does visualization play in exploratory and ad-hoc analysis?
chevron-down

Visualization plays a vital role in exploratory and ad-hoc analysis, as it helps to understand patterns, trends, and relationships in the data. Graphs, charts, and other visual elements can make complex data more comprehensible, enabling faster and more effective analysis.

What kind of data can I use for exploratory and ad-hoc analysis?
chevron-down

You can use any type of data for exploratory and ad-hoc analysis, including structured data (like databases or spreadsheets), semi-structured data (like JSON files or XML documents), and unstructured data (like text or images). The choice depends on your question and what data you have available.

How does exploratory analysis differ from confirmatory analysis?
chevron-down

While exploratory analysis is about uncovering trends, patterns, and relationships without a pre-defined hypothesis, confirmatory analysis tests specific hypotheses derived from theories or observations. The two approaches are complementary, with exploratory analysis often informing the hypotheses for confirmatory analysis.

What tools or skills are necessary for effective exploratory and ad-hoc analysis?
chevron-down

Tools for exploratory and ad-hoc analysis range from spreadsheets to advanced data analysis software. Skills required include a basic understanding of statistics, a knack for asking insightful questions, and the ability to weave data findings into compelling narratives. Knowledge of data visualization techniques is also highly beneficial.

What's an example of a typical scenario where I might use exploratory and ad-hoc analysis?
chevron-down

A typical scenario might involve investigating a sudden decrease in product sales. Through exploratory and ad-hoc analysis, you could delve into the data to understand possible reasons behind this decrease—be it pricing, competition, marketing effectiveness, or a change in consumer behavior.

Can't find your answer here? Get in touch.