Bringing analytics to Notion with Deepnote

How to build charts over Notion databases and keep your analytics & storytelling all in one place

Elizabeth Dlha
Deepnote
4 min readNov 2, 2021

--

TL;DR — You can now bring analytics into Notion using Deepnote embeds. You can also read this article as a Notion page (naturally) to experience all the bells & whistles.

At Deepnote, our team loves and lives in Notion. From keeping track of our user interviews, managing our hiring pipeline, all the way to shaping new features — Notion allows us to stay in sync. As a hybrid team distributed across North America and Europe, we have a strong writing culture and everything that is said gets captured in Notion. One thing that was missing was an analytical layer — something that would allow us to complement our stories and ideas with numbers and data visualizations. Being the data nerds we are, we jumped on the opportunity to bring some of Deepnote’s analytical power right into the Notion’s interface.

In case you’re new to Deepnote — hi 👋, we’re building a collaborative data science notebook. In this article, I will show you 4 ways in which we use the new Notion + Deepnote embed experience on our team, and hopefully inspire you to layer in more analytics into your day-to-day too.

1. Query your data warehouse, embed it in meeting notes

You can use Deepnote to embed data frames, code snippets, even interactive graphs into your Notion pages. Bringing Deepnote blocks into Notion allows our team to lay down the narrative in native Notion blocks, and complete the story with numbers. This way, we get to keep the context all in one place.

In this quick demo video, you can see it in action.

Deepnote to Notion embed workflow 👀

👉 Example use: The Plotly graph below captures current vaccination data in Norway. This block is live and powered by a scheduled Deepnote notebook. This means the data is automatically updated from official government sources every day.

2. Go full circle — query Notion databases using Deepnote

Another powerful addition to your toolbox is the ability to tap into Notion databases you build and analyze them in notebooks. Using the Notion API and Deepnote notebooks, our team easily reads Notion databases and converts them to Pandas DataFrames, which are easy to visualize. With all this we have data and metrics as first-class citizen in Notion!

Here are some more possibilities this unlocks:

  • See how candidates progress in your hiring pipeline. How long does it take you to go from first contact to signing a contract?
  • Analyze your engineering tickets. How are they distributed among your engineers? How about not just counting them, but looking at their difficulties?
  • Is your sales pipeline in a healthy shape? Can you hit your targets? Which reps are bringing you the most revenue?

👉 Example use: Here is a Notion document with a database storing sales data. It shows how we analyze this data with Deepnote, and embed results back into Notion using live blocks.

3. Keep things up to date

Combining text with data visualization is great, but the Notion API introduced earlier this year allowed us to layer in more magic. On one hand, you can fetch data from Notion into Deepnote notebook and analyze it (in your browser, with zero setup work, collaboratively, and all that good stuff). On the other side, this also means that the Deepnote blocks you embed into Notion are live and connected to the underlying notebook — any changes in the notebook are reflected in Notion too!

How does this work? With the scheduling functionality of Deepnote notebooks, you can schedule your notebook to run and refresh the underlying data in daily or weekly intervals in a specific time. The analyses and data visuals (including your embeds) get refreshed together with your notebook. This way, you can be sure that the embedded blocks in your Notion pages are always up to date and reflect the latest data.

👉 Example use: Here is an example COVID-19 vaccination report built using Deepnote blocks and Notion. The notebook is scheduled to run every day, so you will always have access to fresh data right within Notion.

4. Make your reports interactive

Last but not least — Deepnote embeds are interactive, so bringing your charts into Notion becomes a really effective way to tell data-driven stories that your audience can interact with. This is especially powerful for reports with rich data visualizations. Your audience consuming your Notion pages can click, zoom, select and hover over your data visualizations (depending on the block type).

At Deepnote, we often use this functionality for investor reporting, which is great especially for those not comfortable dealing with code. Using Notion with embedded interactive Deepnote blocks focuses the readers on what’s important.

👉 Example use: The block below is a visualization created on the back of a Notion CRM database in Deepnote.

At Deepnote, we are just at the beginning of our journey of building a platform that brings teams together to explore, analyze and present data from start to finish. If you want to get your hands on Deepnote and try the new embedding experience with Deepnote + Notion, you can sign up for free here. 💙

--

--

Elizabeth Dlha
Deepnote

Product at Deepnote | SF by way of NYC by way of PRG