Skip to content

Instantly share code, notes, and snippets.

@vasgat
Created October 14, 2025 10:30
Show Gist options
  • Select an option

  • Save vasgat/a3da0620442810ab6f0b69a9a3f349dc to your computer and use it in GitHub Desktop.

Select an option

Save vasgat/a3da0620442810ab6f0b69a9a3f349dc to your computer and use it in GitHub Desktop.
Benchmark Comparison: Reporting Integrity Index 2025
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"width": 650,
"height": 95,
"padding": 10,
"title": {
"text": "Benchmark Comparison: Adidas AG Reporting Integrity Index 2025",
"fontSize": 16
},
"config": {
"axis": {"labelFontSize": 12, "title": null, "grid": false},
"view": {"stroke": null},
"title": {"font": "DM Sans, Helvetica, Arial, sans-serif"}
},
"datasets": {
"benchmarks": [
{
"benchmark": "Reporting Integrity Index",
"min": 0,
"avg": 5.2,
"max": 7.6
}
],
"overallAvg": [{"x": 6, "label": "Average"}],
"company_score": [
{
"company": "Adidas AG",
"benchmark": "Reporting Integrity Index",
"score": 4.3
}
]
},
"layer": [
{
"data": {"name": "overallAvg"},
"mark": {"type": "rule", "strokeDash": [6, 4]},
"encoding": {
"x": {
"field": "x",
"type": "quantitative",
"scale": {"domain": [-1, 10]},
"axis": {
"values": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
"tickCount": 11,
"labelFontSize": 12
}
},
"color": {"value": "#7f7fbb"}
}
},
{
"data": {"name": "overallAvg"},
"mark": {"type": "text", "align": "center", "dy": -10},
"encoding": {
"x": {"field": "x", "type": "quantitative"},
"y": {"value": 0},
"text": {"field": "label"},
"color": {"value": "#7f7fbb"}
}
},
{
"data": {"name": "benchmarks"},
"mark": {"type": "rule", "strokeWidth": 15, "opacity": 0.35},
"encoding": {
"y": {
"axis": {
"title": null,
"labels": false,
"ticks": false,
"domain": false
},
"field": "benchmark",
"type": "ordinal",
"scale": {"domain": ["Reporting Integrity Index"]}
},
"x": {
"field": "min",
"type": "quantitative",
"scale": {"domain": [0, 10]}
},
"x2": {"field": "max"},
"color": {"value": "#7f7fbb"}
}
},
{
"data": {"name": "benchmarks"},
"mark": {"type": "point", "filled": true, "size": 450, "opacity": 1},
"encoding": {
"y": {
"axis": {
"title": null,
"labels": false,
"ticks": false,
"domain": false
},
"field": "benchmark",
"type": "ordinal",
"scale": {"domain": ["Reporting Integrity Index"]}
},
"x": {"field": "min", "type": "quantitative"},
"color": {"value": "#7f7fbb"},
"tooltip": [{"field": "min", "title": "Lowest", "format": ".2f"}]
}
},
{
"data": {"name": "benchmarks"},
"mark": {"type": "point", "filled": true, "size": 450, "opacity": 1},
"encoding": {
"y": {
"axis": {
"title": null,
"labels": false,
"ticks": false,
"domain": false
},
"field": "benchmark",
"type": "ordinal",
"scale": {"domain": ["Reporting Integrity Index"]}
},
"x": {"field": "max", "type": "quantitative"},
"color": {"value": "#4a44c6"},
"tooltip": [{"field": "max", "title": "Highest", "format": ".2f"}]
}
},
{
"data": {"name": "company_score"},
"mark": {"type": "tick", "filled": true, "size": 40},
"encoding": {
"y": {
"axis": {
"title": null,
"labels": false,
"ticks": false,
"domain": false
},
"field": "benchmark",
"type": "ordinal",
"scale": {"domain": ["Reporting Integrity Index"]}
},
"x": {"field": "score", "type": "quantitative"},
"color": {"value": "black"}
}
},
{
"data": {"name": "company_score"},
"mark": {
"type": "text",
"align": "center",
"dy": -35,
"fontWeight": "bold",
"fontSize": 14
},
"encoding": {
"y": {
"axis": {
"title": null,
"labels": false,
"ticks": false,
"domain": false
},
"field": "benchmark",
"type": "ordinal",
"scale": {"domain": ["Reporting Integrity Index"]}
},
"x": {"field": "score", "type": "quantitative"},
"text": {"field": "company"},
"color": {"value": "black"}
}
},
{
"data": {"name": "company_score"},
"mark": {
"type": "text",
"align": "center",
"dy": 30,
"fontWeight": "bold",
"fontSize": 16
},
"encoding": {
"y": {
"axis": {
"title": null,
"labels": false,
"ticks": false,
"domain": false
},
"field": "benchmark",
"type": "ordinal",
"scale": {"domain": ["Reporting Integrity Index"]}
},
"x": {"field": "score", "type": "quantitative"},
"text": {"field": "score"},
"color": {"value": "black"}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment