{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "Forecast Scenarios Comparison",
"hconcat": [
{
"title": "Baseline Scenario",
"width": 250,
"height": 200,
"mark": "line",
"encoding": {
"x": {
"field": "Date",
"type": "temporal",
"title": "Date",
"axis": {
"format": "%b %Y",
"labelAngle": 5,
"title": "Month",
"tickCount": "month"
}
},
"y": {
"field": "Value",
"type": "quantitative",
"title": "Value",
"scale": {
"domain": [
0,
30
]
}
},
"color": {
"field": "Type",
"type": "nominal"
}
},
"data": {
"values": [
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Mean Forecast"
},
{
"Date": "2022-02-01",
"Value": 12,
"Type": "Mean Forecast"
},
{
"Date": "2022-03-01",
"Value": 15,
"Type": "Mean Forecast"
},
{
"Date": "2022-04-01",
"Value": 18,
"Type": "Mean Forecast"
},
{
"Date": "2022-05-01",
"Value": 20,
"Type": "Mean Forecast"
},
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-02-01",
"Value": 11,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-03-01",
"Value": 13,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-04-01",
"Value": 15,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-05-01",
"Value": 16,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-02-01",
"Value": 10,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-03-01",
"Value": 12,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-04-01",
"Value": 13,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-05-01",
"Value": 14,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-02-01",
"Value": 9,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-03-01",
"Value": 11,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-04-01",
"Value": 11,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-05-01",
"Value": 12,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Best Case"
},
{
"Date": "2022-02-01",
"Value": 13,
"Type": "Best Case"
},
{
"Date": "2022-03-01",
"Value": 17,
"Type": "Best Case"
},
{
"Date": "2022-04-01",
"Value": 21,
"Type": "Best Case"
},
{
"Date": "2022-05-01",
"Value": 24,
"Type": "Best Case"
}
]
}
},
{
"title": "Conservative Scenario",
"width": 250,
"height": 200,
"mark": "line",
"encoding": {
"x": {
"field": "Date",
"type": "temporal",
"title": "Date",
"axis": {
"format": "%b %Y",
"labelAngle": 5,
"title": "Month",
"tickCount": "month"
}
},
"y": {
"field": "Value",
"type": "quantitative",
"title": "Value",
"scale": {
"domain": [
0,
30
]
}
},
"color": {
"field": "Type",
"type": "nominal"
}
},
"data": {
"values": [
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Mean Forecast"
},
{
"Date": "2022-02-01",
"Value": 11,
"Type": "Mean Forecast"
},
{
"Date": "2022-03-01",
"Value": 13,
"Type": "Mean Forecast"
},
{
"Date": "2022-04-01",
"Value": 14,
"Type": "Mean Forecast"
},
{
"Date": "2022-05-01",
"Value": 16,
"Type": "Mean Forecast"
},
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-02-01",
"Value": 10,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-03-01",
"Value": 11,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-04-01",
"Value": 11,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-05-01",
"Value": 12,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-02-01",
"Value": 9,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-03-01",
"Value": 10,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-04-01",
"Value": 10,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-05-01",
"Value": 10,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-02-01",
"Value": 8,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-03-01",
"Value": 9,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-04-01",
"Value": 8,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-05-01",
"Value": 8,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Best Case"
},
{
"Date": "2022-02-01",
"Value": 12,
"Type": "Best Case"
},
{
"Date": "2022-03-01",
"Value": 15,
"Type": "Best Case"
},
{
"Date": "2022-04-01",
"Value": 17,
"Type": "Best Case"
},
{
"Date": "2022-05-01",
"Value": 20,
"Type": "Best Case"
}
]
}
},
{
"title": "Optimistic Scenario",
"width": 250,
"height": 200,
"mark": "line",
"encoding": {
"x": {
"field": "Date",
"type": "temporal",
"title": "Date",
"axis": {
"format": "%b %Y",
"labelAngle": 5,
"title": "Month",
"tickCount": "month"
}
},
"y": {
"field": "Value",
"type": "quantitative",
"title": "Value",
"scale": {
"domain": [
0,
30
]
}
},
"color": {
"field": "Type",
"type": "nominal"
}
},
"data": {
"values": [
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Mean Forecast"
},
{
"Date": "2022-02-01",
"Value": 14,
"Type": "Mean Forecast"
},
{
"Date": "2022-03-01",
"Value": 18,
"Type": "Mean Forecast"
},
{
"Date": "2022-04-01",
"Value": 22,
"Type": "Mean Forecast"
},
{
"Date": "2022-05-01",
"Value": 26,
"Type": "Mean Forecast"
},
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-02-01",
"Value": 13,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-03-01",
"Value": 16,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-04-01",
"Value": 19,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-05-01",
"Value": 22,
"Type": "Worst Case (20%)"
},
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-02-01",
"Value": 12,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-03-01",
"Value": 15,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-04-01",
"Value": 17,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-05-01",
"Value": 20,
"Type": "Worst Case (10%)"
},
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-02-01",
"Value": 11,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-03-01",
"Value": 14,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-04-01",
"Value": 15,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-05-01",
"Value": 18,
"Type": "Worst Case (5%)"
},
{
"Date": "2022-01-01",
"Value": 10,
"Type": "Best Case"
},
{
"Date": "2022-02-01",
"Value": 15,
"Type": "Best Case"
},
{
"Date": "2022-03-01",
"Value": 20,
"Type": "Best Case"
},
{
"Date": "2022-04-01",
"Value": 25,
"Type": "Best Case"
},
{
"Date": "2022-05-01",
"Value": 30,
"Type": "Best Case"
}
]
}
}
]
}