All Projects → g1eb → Calendar Heatmap

g1eb / Calendar Heatmap

Licence: mit
📊 Calendar heatmap graph

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Calendar Heatmap

reactjs-calendar-heatmap
React component for d3.js calendar heatmap graph
Stars: ✭ 128 (-24.71%)
Mutual labels:  d3, calendar, heatmap
simple-d3-heatmap
A javascript module to create heatmap calendars
Stars: ✭ 24 (-85.88%)
Mutual labels:  d3, calendar, heatmap
calendar-heatmap-mini
A d3.js heatmap representing time series data
Stars: ✭ 22 (-87.06%)
Mutual labels:  d3, heatmap
Calendar Heatmap
A d3 heatmap for representing time series data similar to github's contribution chart
Stars: ✭ 1,985 (+1067.65%)
Mutual labels:  heatmap, d3
Reaviz
📊 Data visualization library for React based on D3
Stars: ✭ 215 (+26.47%)
Mutual labels:  heatmap, d3
Calendar Heatmap
Calendar heatmap with matplotlib and random data
Stars: ✭ 76 (-55.29%)
Mutual labels:  calendar, heatmap
Clustergrammer
An interactive heatmap visualization built using D3.js
Stars: ✭ 188 (+10.59%)
Mutual labels:  heatmap, d3
leaflet heatmap
简单的可视化湖州通话数据 假设数据量很大,没法用浏览器直接绘制热力图,把绘制热力图这一步骤放到线下计算分析。使用Apache Spark并行计算数据之后,再使用Apache Spark绘制热力图,然后用leafletjs加载OpenStreetMap图层和热力图图层,以达到良好的交互效果。现在使用Apache Spark实现绘制,可能是Apache Spark不擅长这方面的计算或者是我没有设计好算法,并行计算的速度比不上单机计算。Apache Spark绘制热力图和计算代码在这 https://github.com/yuanzhaokang/ParallelizeHeatmap.git .
Stars: ✭ 13 (-92.35%)
Mutual labels:  d3, heatmap
Github Spray
Draw on your GitHub contribution graph ░▒▓█
Stars: ✭ 908 (+434.12%)
Mutual labels:  calendar, heatmap
Calendarheatmap
A calendar based heatmap which presenting a time series of data points in colors.
Stars: ✭ 113 (-33.53%)
Mutual labels:  calendar, heatmap
Ngx Dynamic Dashboard Framework
This is a JSON driven angular x based dashboard framework that is inspired by JIRA's dashboard implementation and https://github.com/raulgomis/angular-dashboard-framework
Stars: ✭ 160 (-5.88%)
Mutual labels:  d3
Ionic Calendar
A calendar directive for Ionic framework
Stars: ✭ 160 (-5.88%)
Mutual labels:  calendar
React D3 Speedometer
✨ ⚛️ React Speedometer component using d3.js 🌈 🎨
Stars: ✭ 162 (-4.71%)
Mutual labels:  d3
Xamarin.plugin.calendar
Calendar plugin for Xamarin.Forms
Stars: ✭ 159 (-6.47%)
Mutual labels:  calendar
Xk Time
xk-time 是时间转换,时间计算,时间格式化,时间解析,日历,时间cron表达式和时间NLP等的工具,使用Java8,线程安全,简单易用,多达70几种常用日期格式化模板,支持Java8时间类和Date,轻量级,无第三方依赖。
Stars: ✭ 162 (-4.71%)
Mutual labels:  calendar
Victory Native
victory components for react native
Stars: ✭ 2,013 (+1084.12%)
Mutual labels:  d3
Cal
Go (golang) calendar library for dealing with holidays and work days
Stars: ✭ 158 (-7.06%)
Mutual labels:  calendar
Diary
Android personal diary - forked from http://git.savannah.gnu.org/cgit/diary.git
Stars: ✭ 158 (-7.06%)
Mutual labels:  calendar
Rrule
JavaScript library for working with recurrence rules for calendar dates as defined in the iCalendar RFC and more.
Stars: ✭ 2,249 (+1222.94%)
Mutual labels:  calendar
React Datepicker
📅 React DatePicker Library (Flexible, Reusable)
Stars: ✭ 165 (-2.94%)
Mutual labels:  calendar

Calendar heatmap graph

This d3.js heatmap representing time series data is used to visualize tracked time over the past year, showing details for each of the days on demand.

Includes a global overview of multiple years and visualizations of year, month, week and day overview with zoom for details-on-demand.

Inspired by Github's contribution graph

Based on Calendar View by Mike Bostock
Aaand D3.js Calendar Heatmap by Darragh Kirwan

Demo

Click here for a live demo.

Global overview

calendar heatmap - global overview

Year overview

calendar heatmap - year overview

Month overview

calendar heatmap - month overview

Week overview

calendar heatmap - week overview

Day overview

calendar heatmap - day overview

Install

  • Install 'calendar-heatmap-graph' with bower
bower install calendar-heatmap-graph
  • Install 'calendar-heatmap-graph' with npm
npm install calendar-heatmap-graph
  • Or include files directly in your html:
<link rel="stylesheet" type="text/css" href="dist/calendar-heatmap.min.css">
<script type="text/javascript" src="dist/calendar-heatmap.min.js"></script>

Properties

Property Usage Default Required
data Time series data from max a year back none yes
container Div to place the calendar in placed where function called no
color Theme hex color #45ff00 no
overview Initial overview type (choices are: year, month, day) year no
handler Handler function is fired on click of a time entry in daily overview none no

Example data

Time series data where each day has a total time tracked (in seconds).
Details, if provided, are shown in a tooltip on mouseover in different overviews.

var data = [{
  "date": "2016-01-01",
  "total": 17164,
  "details": [{
    "name": "Project 1",
    "date": "2016-01-01 12:30:45",
    "value": 9192
  }, {
    "name": "Project 2",
    "date": "2016-01-01 13:37:00",
    "value": 6753
  },
  .....
  {
    "name": "Project N",
    "date": "2016-01-01 17:52:41",
    "value": 1219
  }]
}]

Additionally you may specify a color to be used as the primary color for that data point in daily overview, for example:

var data = [{
  "date": "2017-01-01",
  "total": 18456,
  "color": "red",
  .....
}]

Optimization

In some cases details array could be large and in order to fit the data into the tooltip a short summary is generated with distinct projects and their total tracked time for that date. In terms of optimization, summary data can be computed server-side and passed in using the ``summary'' attribute. And in addition to the data structure described above this would result in a summary dictionary with distinct project names and total values of tracked time in seconds, e.g.:

var data = [{
  "date": "2016-01-01",
  "total": 17164,
  "details": [.....],
  "summary": [{
    "name": "Project 1",
    "value": 9192
  }, {
    "name": "Project 2",
    "value": 6753
  },
  .....
  {
    "name": "Project N",
    "value": 1219
  }]
}]

See index.html for an example implementation with random data or click here for a live demo.

Angular directive

If you want to use this heatmap as an Angular directive (version 1.x), see angular-calendar-heatmap

Or as an Angular component (version 2.x), see angular2-calendar-heatmap

React component

If you want to use this heatmap as a React component, see reactjs-calendar-heatmap

Dependencies

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].