anychart.onDocumentReady(function () {
{x: "2020-01-12", value: "6"},
{x: "2020-01-15", value: "2"},
{x: "2020-01-18", value: "2"},
{x: "2020-01-19", value: "5"},
{x: "2020-02-03", value: "1"},
{x: "2020-02-19", value: "9"},
{x: "2020-03-19", value: "2"},
{x: "2020-04-13", value: "3"},
{x: "2020-04-15", value: "3"},
{x: "2020-04-20", value: "4"},
{x: "2020-04-21", value: "1"},
{x: "2020-05-10", value: "3"},
{x: "2020-05-11", value: "1"},
{x: "2020-05-14", value: "1"},
{x: "2021-01-12", value: "2"}
var chart = anychart.calendar(data);
var customColorScale = anychart.scales.ordinalColor();
customColorScale.ranges([
customColorScale.colors(["lightgray", "#ffcc00", "#00ccff"]);
chart.colorScale(customColorScale);
chart.colorRange().length("90%");
chart.years().title().fontSize(30);
chart.title().useHtml(true);
chart.title("Calendar Chart: Color Scale (Ordinal)<br><br>" +
"<span style='font-size:12; font-style:italic'>" +
"GitHub Contributions</span>");
chart.container("container");