This tutorial discusses some motivations for learning D3. With the help of an example, we explain in 10 steps the use of D3 for creating a calendar view heatmap for daily data across multiple years.
https://www.crowdanalytix.com/communityBlog/10-steps-to-create-calendar-view-heatmap-in-d3-js