Giter VIP home page Giter VIP logo

heat-map-calendar's Introduction

A heat map calendar in gnuplot

Generate a heat map calendar using gnuplot and a CSV file with events.

A heat map calendar

This calendar displays the frequency of events in a day: the more events, the brightest is the green. Algorithmically, this program (via awk) gets the day with more events and counts them to have the highest value (for internal reference): which represents the 100%. Then, it counts the events of every day and assigns a color according to the corresponding percentage. There are four colors for four frequencies.

From 0% to 25%: darkest green background and white text.
From 25% to 50%: dark green background and white text.
From 50% to 75%: bright green background and black text.
From 75% to 100%: brightest green background and black text.

The days without events don't show the date, only a black background. Weekends are also represented in different color: dark blue for Saturdays and dark red for Sundays.

This calendar can be customized to display a different range of dates and a different size.

How to use it: populate a file (data.csv) with dates in the first column with the format dd/mm/yyyy. The format and the column number can also be easily customized.

Possible use cases

  • Commits on Github
  • Activity tracking
  • Data science
  • Yearly sales

heat-map-calendar's People

Contributors

gerardbm avatar

Stargazers

Lyubomyr Shaydariv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.