{ "$schema": "https://vega.github.io/schema/vega-lite/v5.17.0.json", "background": "null", "config": { "axis": { "grid": false } }, "data": { "name": "data-651d4652412dc027237eed972c22fe80" }, "datasets": { "data-651d4652412dc027237eed972c22fe80": [ { "diff": -2.0, "name": "Dwi Gustin Nurdialit", "wh_count": 4, "workshop_period": "3 months ago" }, { "diff": -2.0, "name": "Dwi Gustin Nurdialit", "wh_count": 2, "workshop_period": "Last 3 months" }, { "diff": 0.0, "name": "Dyah Nurlita", "wh_count": 2, "workshop_period": "3 months ago" }, { "diff": 0.0, "name": "Dyah Nurlita", "wh_count": 2, "workshop_period": "Last 3 months" }, { "diff": null, "name": "Handoyo Sjarif", "wh_count": 1, "workshop_period": "3 months ago" }, { "diff": -3.0, "name": "Irfan Chairur Rachman", "wh_count": 5, "workshop_period": "3 months ago" }, { "diff": -3.0, "name": "Irfan Chairur Rachman", "wh_count": 2, "workshop_period": "Last 3 months" }, { "diff": 0.0, "name": "Muhammad Arkana Yudhistira", "wh_count": 3, "workshop_period": "3 months ago" }, { "diff": 0.0, "name": "Muhammad Arkana Yudhistira", "wh_count": 3, "workshop_period": "Last 3 months" }, { "diff": -1.0, "name": "Muhammad Dzaky Jayalaksono", "wh_count": 5, "workshop_period": "3 months ago" }, { "diff": -1.0, "name": "Muhammad Dzaky Jayalaksono", "wh_count": 4, "workshop_period": "Last 3 months" }, { "diff": null, "name": "Sasha Nabila Fortuna", "wh_count": 1, "workshop_period": "Last 3 months" }, { "diff": null, "name": "Saskia Dwi Ulfah", "wh_count": 2, "workshop_period": "3 months ago" }, { "diff": 4.0, "name": "Victor Nugraha Putera", "wh_count": 2, "workshop_period": "3 months ago" }, { "diff": 4.0, "name": "Victor Nugraha Putera", "wh_count": 6, "workshop_period": "Last 3 months" } ] }, "layer": [ { "encoding": { "color": { "condition": { "test": "(datum.diff > 0)", "value": "black" }, "value": "#dc3545" }, "detail": { "field": "name", "type": "nominal" }, "x": { "axis": { "title": "Workshops in the last 6 months" }, "field": "wh_count", "type": "quantitative" }, "y": { "axis": { "title": " " }, "field": "name", "type": "nominal" } }, "mark": { "type": "line" }, "title": "Lead Instructor Roles" }, { "encoding": { "color": { "field": "workshop_period", "legend": { "offset": 4, "orient": "bottom-right", "title": null }, "scale": { "range": [ "#375d7b", "black" ] }, "type": "ordinal" }, "tooltip": [ { "field": "workshop_period", "type": "ordinal" }, { "field": "wh_count", "type": "quantitative" } ], "x": { "field": "wh_count", "type": "quantitative" }, "y": { "field": "name", "type": "nominal" } }, "mark": { "filled": true, "size": 100, "type": "point" } }, { "encoding": { "color": { "condition": { "test": "(datum.diff > 0)", "value": "black" }, "value": "#dc3545" }, "text": { "field": "wh_count", "type": "quantitative" }, "tooltip": [ { "field": "workshop_period", "type": "ordinal" }, { "field": "wh_count", "type": "quantitative" } ], "x": { "field": "wh_count", "type": "quantitative" }, "y": { "field": "name", "type": "nominal" } }, "mark": { "align": "right", "baseline": "bottom", "dx": -3, "dy": -1, "type": "text" }, "transform": [ { "filter": { "field": "workshop_period", "oneOf": [ "Last 3 months" ] } } ] }, { "encoding": { "size": { "value": 1 }, "x": { "aggregate": "average", "field": "wh_count", "type": "quantitative" } }, "mark": { "color": "#bbc6cb", "strokeDash": [ 4 ], "type": "rule" } } ], "width": 580 }