{
"type": "line",
"data": {
"labels": [
"1972",
"1982",
"1992",
"2002",
"2012",
"2022"
],
"datasets": [
{
"backgroundColor": "rgba(200, 140, 171, 0.2)",
"barPercentage": 0.90000000000000002220446049250313080847263336181640625,
"borderColor": "rgba(200, 140, 171, 0.8)",
"borderWidth": "2",
"label": "Happiness",
"lineTension": "0.4",
"type": "line",
"data": [
10,
8,
8,
0,
9,
5
]
},
{
"backgroundColor": "rgba(231, 160, 29, 0.3)",
"barPercentage": 0.90000000000000002220446049250313080847263336181640625,
"borderColor": "rgba(231, 160, 29, 0.8)",
"borderWidth": "2",
"label": "Financial Stability",
"lineTension": "0.4",
"data": [
0,
1,
3.5,
8,
1,
5
]
},
{
"barPercentage": 0.90000000000000002220446049250313080847263336181640625,
"borderColor": "rgba(37, 181, 180, 0.8)",
"borderWidth": "2",
"label": "Health",
"lineTension": "0.4",
"data": [
10,
9,
9,
3,
8,
5
]
}
]
},
"debug": true,
"options": {
"indexAxis": "x",
"maintainAspectRatio": false,
"scales": {
"y": {
"title": {
"color": "#777777",
"font": {
"family": "'Roboto Condensed'"
},
"display": true
},
"position": "left",
"ticks": {
"font": {
"size": 12,
"family": "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif"
}
}
},
"x": {
"title": {
"color": "#777777",
"font": {
"family": "'Roboto Condensed'"
},
"display": true
},
"position": "bottom"
}
},
"plugins": {
"title": {
"position": "left",
"text": "Happinesslevel",
"font": {
"family": "'Roboto Condensed'",
"size": "12"
}
},
"subtitle": {
"display": true,
"font": {
"size": 12,
"family": "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif"
}
},
"legend": {
"display": false
},
"deferred": {
"yOffset": "30%",
"delay": 500
}
},
"animation": {
"enabled": true
}
}
}
Happiness Financial Stability Health