Skip to content

Latest commit

 

History

History
236 lines (228 loc) · 5.19 KB

compass.md

File metadata and controls

236 lines (228 loc) · 5.19 KB
title layout comments chart licence
Political Compass
page
true
true
Creative Commons

Every 6 months I take the Political Compass test to see how my beliefs drift over time. Here are the results so far.

Economic

Social

<script> var economicChartData = { datasets: [ { fill: false, data: [ { t: new Date(2019, 11, 4), y: -5.25 }, { t: new Date(2020, 6, 1), y: -6.38 }, { t: new Date(2021, 1, 4), y: -7.38 }, { t: new Date(2021, 7, 1), y: -5.13 }, { t: new Date(2022, 1, 2), y: -5.75 }, { t: new Date(2022, 7, 19), y: -7.25 }, { t: new Date(2023, 1, 2), y: -6.88 }, { t: new Date(2023, 7, 19), y: -5.5 }, { t: new Date(2024, 6, 17), y: -5.63 } ], borderColor: '#70c1b3', borderWidth: 3 } ] } var ctx2 = document.getElementById("economicChart").getContext("2d"); var economicChart = new Chart(ctx2, { type: 'line', data: economicChartData, options: { annotation: { events: ["click"], annotations: [ { drawTime: "afterDatasetsDraw", type: "line", mode: "vertical", scaleID: "x-axis-0", value: new Date(2021, 8, 1), borderColor: "rgba(0,0,0,0)", borderWidth: 0, label: { backgroundColor: "#247ba0", content: "Right", enabled: true, position: "top" }, }, { drawTime: "afterDatasetsDraw", type: "line", mode: "vertical", scaleID: "x-axis-0", value: new Date(2021, 8, 1), borderColor: "rgba(0,0,0,0)", borderWidth: 0, label: { backgroundColor: "#f25f5c", content: "Left", enabled: true, position: "bottom" }, } ] }, legend: { display: false }, elements: { point: { radius: 0 } }, scales: { xAxes: [{ type: 'time', time: { unit: 'year' } }], yAxes: [{ scaleLabel: { display: false }, ticks: { suggestedMin: -10, suggestedMax: 10 } }] } } }); </script> <script> var socialChartData = { datasets: [ { fill: false, data: [ { t: new Date(2019, 11, 4), y: -7.28 }, { t: new Date(2020, 6, 1), y: -6.05 }, { t: new Date(2021, 1, 4), y: -6.51 }, { t: new Date(2021, 7, 1), y: -5.33 }, { t: new Date(2022, 1, 2), y: -5.79 }, { t: new Date(2022, 7, 19), y: -6.36 }, { t: new Date(2023, 1, 2), y: -6.92 }, { t: new Date(2023, 7, 19), y: -7.18 }, { t: new Date(2024, 6, 17), y: -6.1 } ], borderColor: '#70c1b3', borderWidth: 3 } ] } var ctx2 = document.getElementById("socialChart").getContext("2d"); var socialChart = new Chart(ctx2, { type: 'line', data: socialChartData, options: { annotation: { events: ["click"], annotations: [ { drawTime: "afterDatasetsDraw", type: "line", mode: "vertical", scaleID: "x-axis-0", value: new Date(2021, 8, 1), borderColor: "rgba(0,0,0,0)", borderWidth: 0, label: { backgroundColor: "#247ba0", content: "Authoritarian", enabled: true, position: "top" }, }, { drawTime: "afterDatasetsDraw", type: "line", mode: "vertical", scaleID: "x-axis-0", value: new Date(2021, 8, 1), borderColor: "rgba(0,0,0,0)", borderWidth: 0, label: { backgroundColor: "#f25f5c", content: "Libertarian", enabled: true, position: "bottom" }, } ] }, legend: { display: false }, elements: { point: { radius: 0 } }, scales: { xAxes: [{ type: 'time', time: { unit: 'year' } }], yAxes: [{ scaleLabel: { display: false }, ticks: { suggestedMin: -10, suggestedMax: 10 } }] } } }); </script>