Mindfulness

How to Make a Notion Habit Tracker with Graph

Updated · By the Relaxmid editors

Reading time
5 min
Sections
9
Topic
Mindfulness

The most common mistake is building a habit tracker that only shows checkboxes, so you can’t see progress over time. The method that avoids this uses Notion’s built-in database views and a simple formula to create a rolling bar chart. You’ll end up with a tracker that shows your streaks and a graph of your last 30 days at a glance.

Before You Start: What Your Tracker Needs

You need a Notion account and a page where you want the tracker to live. The tracker uses a database, not a simple table, because databases can display the same data as a calendar, a board, or a chart. You’ll also need to decide how many habits to track—start with 3 to 5 so the graph stays readable.

  • Habit names: Write them as a list, e.g., “Drink water,” “Read,” “Stretch.”
  • Date range: Decide if you want to see the last 7, 14, or 30 days. 30 days gives a clearer trend.
  • Checkbox property: Each day will have a checkbox for each habit. You’ll create one checkbox per habit.

Build the Database: One Row per Day

Create a new database inside your Notion page. Choose “Table” view for now—you’ll add a chart view later. Name the database “Habit Tracker.”

  1. Click “+ New database” on your page, then select “Table.”
  2. Rename the first property (the default “Name”) to “Date.” Change its type to “Date.”
  3. Add a property for each habit. Click “+” in the table header, choose “Checkbox,” and name it exactly as you wrote the habit (e.g., “Drink water”).
  4. Add one row per day. You can add 30 rows manually, or use a faster method: create one row, then duplicate it and change the date. Notion doesn’t auto-fill dates, so you’ll type each date.
  5. For each day, check the boxes you completed. Leave unchecked for missed days.

Why one row per day? Because a chart in Notion needs a date axis. If you use a single row per habit with a “done” checkbox, you can’t graph frequency over time.

Add a Formula to Count Daily Completions

To make a graph, you need a number that represents how many habits you completed each day. Add a formula property that counts the checked boxes.

  1. Click “+” in the table header, choose “Formula,” and name it “Completed.”
  2. In the formula editor, type: prop("Habit 1") + prop("Habit 2") + prop("Habit 3") – replace with your actual checkbox property names. If you have 5 habits, add all five.
  3. Click “Done.” The formula returns 1 or 0 for each checkbox, and adds them up. A day with 3 habits done shows 3.

This formula works because in Notion, a checked checkbox equals 1 and an unchecked equals 0. If you later add a habit, update the formula to include the new property.

Create the Graph View

Notion’s “Chart” view is available on databases. It turns your data into a bar chart with dates on the bottom and your “Completed” number on the side.

  1. At the top of your database, click the “+” next to the current view name (e.g., “Table”).
  2. Choose “Chart” from the view types.
  3. In the chart configuration, set the X-axis to “Date” and the Y-axis to “Completed.”
  4. Choose “Bar” as the chart type. Notion will group by day automatically.
  5. Optionally, set the chart’s “Group by” to “Completed” if you want separate bars per habit—but that requires a different data layout. For a simple total-per-day chart, leave Group by empty.

If you don’t see the Chart view option, your Notion version may not support it yet. You can still see progress using a “Board” view grouped by week, or you can use a linked database with a timeline. But the Chart view is the cleanest for a graph.

How to Tell It Worked

After you add the chart view, you should see a bar for each day. The height of the bar equals the number of habits you completed that day. If you check a box in the Table view, the chart updates immediately.

To verify, go to the Table view, check a box for today, then switch to the Chart view—the bar for today should grow. If the chart shows no bars, check that your Date property is set to a date (not text) and that your Completed formula has no errors (red text).

Keep It Clean: Archive Old Days

Over time, your database grows. You don’t need to delete old days; you can filter them out of the chart view.

  1. In the Chart view, click “Filter” at the top.
  2. Add a filter: “Date” is “on or after” a date that is 30 days ago. You’ll type the date manually, e.g., if today is March 15, type “February 13.”
  3. Save the view. The chart now shows only the last 30 days.

For the Table view, you can also add a filter to show only the current month. This keeps your data entry fast.

Symptom / Cause / Fix

Symptom Cause Fix
Chart shows no bars Date property is not set, or formula has an error Check that each row has a date; click the formula to see if it’s red
Bars all the same height Formula is counting something other than checkboxes, or you’re looking at a different property Make sure Y-axis is set to “Completed,” not “Date” or “Name”
Chart only shows one bar Your rows are not one per day—you may have created a row per habit Restructure: each row must be a single date, with checkboxes for each habit
Checkbox doesn’t affect chart Formula doesn’t include that checkbox property Edit the formula and add the missing property name

Make It a Daily Habit: Quick Entry

The fastest way to log your habits is to keep the Table view open on your phone. Notion’s mobile app lets you check boxes with one tap. You can also create a “Today” view that filters to today’s date, so you don’t scroll.

  1. In the Table view, add a filter: “Date” is “today.”
  2. Name this view “Today.”
  3. Each morning or evening, open that view, check the boxes, and you’re done.

If you prefer a calendar view, add a Calendar view to the same database. It shows each day as a card; you can check boxes directly on the card. The chart view remains your summary.

As you use the tracker, you’ll notice patterns: maybe you miss more on weekends, or you’re stronger in the morning. That’s the value of the graph—it shows you trends without you having to remember them. Review the chart once a week, and adjust your habit list if needed.

If you want to track a habit that isn’t a simple yes/no (like “read for 20 minutes”), you can change the checkbox to a number property. Then your formula can sum the numbers, and the chart will show total minutes per day. The steps are the same; just use a “Number” property instead of “Checkbox.”

Related

General information for everyday wellbeing, not medical advice. If something affects your health, sleep or mood for more than a short while, talk to a qualified professional. Read more

Spotted an error? Tell us and we will correct it (corrections policy).