Skip to content

Instantly share code, notes, and snippets.

@vasgat
Created October 14, 2025 09:55
Show Gist options
  • Select an option

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

Select an option

Save vasgat/4fb2892558d33c9d3298ca7f2d4eb23a 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": 760,
"height": 100,
"padding": 10,
"title": "Benchmark Comparison: Adidas AG Reporting Integrity Index 2025",
"config": {
"axis": {"labelFontSize": 12, "title": null, "grid": false},
"view": {"stroke": null}
},
"datasets": {
"benchmarks": [
{
"benchmark": "Reporting Integrity Index",
"min": 0.1,
"avg": 5.2,
"max": 7
}
],
"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": [0, 10]},
"axis": {"tickCount": 10, "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": 7, "opacity": 0.35},
"encoding": {
"y": {
"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": 90, "opacity": 1},
"encoding": {
"y": {
"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": 90},
"encoding": {
"y": {
"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": 30},
"encoding": {
"y": {
"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": -25},
"encoding": {
"y": {
"field": "benchmark",
"type": "ordinal",
"scale": {"domain": ["Reporting Integrity Index"]}
},
"x": {"field": "score", "type": "quantitative"},
"text": {"field": "company"},
"color": {"value": "black"}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment