Dates or dates with values · one grid per year · streaks and totals

Calendar Heatmap from CSV

Load a CSV with a date column and, optionally, a value column. Rows are added up per day and drawn as a weeks-by-weekdays grid for each year, with the longest streak, busiest day and weekday totals beside it.

Data

Drop a CSV or XLSX

One row per event or per day

Look

Total
9,641
pages
Active days
397 of 516
77% of days from first to last date
Average per active day
24.28
Longest streak
7 days
27 Jan 2024 to 2 Feb 2024
Streak ending on the last dated day
7 days
last day with data: 31 May 2025
Busiest day
44
10 Feb 2024

Heatmap

Hover or focus a square for its date and value.

By weekday

Mon1,515
Tue1,473
Wed1,435
Thu1,544
Fri1,521
Sat1,073
Sun1,080

By month (all years)

Jan1,118
Feb1,118
Mar1,071
Apr1,098
May1,189
Jun594
Jul570
Aug573
Sep583
Oct582
Nov566
Dec579

Calendar Heatmap from CSV Dates

Operator: Abdulla Al Fahad. How tools are built and checked

A calendar heatmap shows when things happen rather than how much, which makes gaps, weekday habits and streaks visible in a way a column of numbers hides. This page adds every row of a CSV to its day first, so a file with five thousand rows reads the same way as one with five: one square per day, one grid per year, shaded by that day's total, with the streaks and the busiest day worked out beside it.

Key features

  • A date column and an optional value column, with per-day sum, count of rows, average or largest value
  • One grid per year of 53 weeks by 7 weekdays, starting weeks on Monday or Sunday, with month and weekday labels
  • Six colour families and three shadings: four levels by quartile, four equal steps, or a smooth gradient, with an option to cap the darkest shade at the 95th percentile
  • Totals, active days, average per active day, longest streak, streak ending on the last dated day and busiest day
  • Totals by weekday and by month, a first-year and last-year choice with up to 25 years drawn, SVG and PNG, and a daily totals CSV

How days are totalled, shaded and counted as streaks

Dates are read as ISO text (2025-03-14, with or without a time), as day-month-year or month-day-year with / . or -, and as 14 Mar 2025 or Mar 14, 2025. A slash date that cannot be both orders, such as 25/03/2025, decides the order for the file; otherwise month first is assumed and the setting is yours to change. Excel serial numbers are not treated as dates, because a plain number in a date column is more often a value that ended up there. Years must lie between 1900 and 2200. A row with a missing or negative value, or an unreadable date, is left out and counted in a notice; with no value column every row counts as 1. A day is active when its total is above zero, and a streak is a run of active days with no gap.

Common use cases

  • A developer exports commit dates from two years of a repository and sees at once that weekends are empty and that the autumn months are the darkest.
  • A shop owner loads daily takings for 2023 and 2024 with Sum per day and the 95th-percentile cap, so one very large Black Friday does not turn the other 364 days pale.
  • A runner logs 400 runs by date, counts rows per day, and finds a longest streak of 11 days.
  • A support lead loads ticket creation timestamps, counts rows, and compares the weekday totals table with staffing.

How to use this tool

  1. Drop a CSV or XLSX, or paste rows with a header, and check the date and value columns.
  2. Choose how rows are added per day, the week start, a colour and a shading.
  3. Read the totals and streaks, then export SVG or PNG, or the daily totals CSV.
  4. To compare years, set the first and last year to the span you want.

Example

Rows (date, minutes), added per day

date,minutes
2025-03-10,30
2025-03-11,45
2025-03-12,20
2025-03-14,60
2025-03-15,15

Statistics

Total 170, 5 active days of 6 between 10 and 15 March (83%), average 34 per active day. Longest streak 3 days, 10 to 12 March. Streak ending on the last dated day: 2 days, 14 and 15 March. Busiest day: 60 on 14 March. Weekday totals: Monday 30, Tuesday 45, Wednesday 20, Friday 60, Saturday 15.

Common pitfalls

Streaks are measured between the first and last date in the file, not up to today, so a log that stops in June cannot report a streak that has since ended.

With the average shown per day, a day with three rows of 10, 20 and 30 is 20, not 60; switch to Sum if you want the daily total.

  • Choose the quartile shading for logs with a few huge days: each of the four levels then holds about a quarter of the active days.
  • Pick a Monday week start for work data so weekends sit together at the bottom of each grid.

Common errors and how to fix them

"3 rows had a date that could not be read, so they were left out."
Check the date order setting first: day-first dates read as month-first fail whenever the day is above 12. Then look for text such as 'n/a' or a stray header row inside the data.

Shading and what the colours mean

The quartile setting draws the 25th, 50th and 75th percentile of the active days as the breaks between four colours, so the lightest shade is the smallest quarter of active days and the darkest the largest. The equal-step setting divides the range from zero to the largest day into four equal steps. The smooth setting darkens in proportion to the square root of the value, which shows small differences better.

A note under the legend gives the exact breaks, and the hover text of every square gives its date and value, so the picture can always be read back to numbers.

Frequently asked questions

Which day does a timestamp near midnight in another time zone land on?

The date part is read as written and the UTC offset is ignored, so 2025-03-14T23:30:00-05:00 and 2025-03-14T23:30:00Z both land on 14 March. Convert the timestamps to the time zone you care about before loading if the offset should move an entry to the next day. A 29 February in a year that is not a leap year, such as 2025-02-29, is counted as an unreadable date.

How are two rows on the same day combined?

By the Per day setting: Sum adds the values, Number of rows counts them, Average takes their mean and Largest keeps the biggest. With no value column every row counts as 1.