Skip to content

Instantly share code, notes, and snippets.

@edmundmiller
Created February 9, 2025 03:34
Show Gist options
  • Save edmundmiller/883f9b234f76257e91ff1ef9c3459492 to your computer and use it in GitHub Desktop.
Save edmundmiller/883f9b234f76257e91ff1ef9c3459492 to your computer and use it in GitHub Desktop.
Common DNAse sensitive regions amoung identification methods
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.20.1.json",
"config": {
"axis": {
"labelFontSize": 14,
"labelFontWeight": 300,
"titleFontSize": 16,
"titleFontWeight": 400,
"titlePadding": 10
},
"concat": {"spacing": 0},
"legend": {
"labelFontSize": 14,
"labelFontWeight": 300,
"orient": "top",
"padding": 20,
"symbolSize": 250,
"symbolType": "circle",
"titleFontSize": 16,
"titleFontWeight": 400
},
"title": {
"anchor": "start",
"fontSize": 18,
"fontWeight": 400,
"subtitlePadding": 10
},
"view": {"continuousHeight": 300, "continuousWidth": 300, "stroke": null}
},
"data": {"name": "data-bfe28c28a90052b97d01c5d6ca1d4dad"},
"datasets": {
"data-6635980b88b64eda995df8e249bb7b69": [
{"set": "Homer", "set_abbre": "Homer"},
{"set": "groHMM", "set_abbre": "groHMM"},
{"set": "PINTS", "set_abbre": "PINTS"}
],
"data-bfe28c28a90052b97d01c5d6ca1d4dad": [
{
"count": 1,
"degree": 1,
"intersection_id": 0,
"is_intersect": 0,
"set": "Homer"
},
{
"count": 4,
"degree": 2,
"intersection_id": 4,
"is_intersect": 1,
"set": "Homer"
},
{
"count": 50,
"degree": 1,
"intersection_id": 3,
"is_intersect": 1,
"set": "Homer"
},
{
"count": 733,
"degree": 2,
"intersection_id": 2,
"is_intersect": 0,
"set": "Homer"
},
{
"count": 3023,
"degree": 3,
"intersection_id": 6,
"is_intersect": 1,
"set": "Homer"
},
{
"count": 39786,
"degree": 2,
"intersection_id": 5,
"is_intersect": 1,
"set": "Homer"
},
{
"count": 122236,
"degree": 1,
"intersection_id": 1,
"is_intersect": 0,
"set": "Homer"
},
{
"count": 1,
"degree": 1,
"intersection_id": 0,
"is_intersect": 0,
"set": "groHMM"
},
{
"count": 4,
"degree": 2,
"intersection_id": 4,
"is_intersect": 0,
"set": "groHMM"
},
{
"count": 50,
"degree": 1,
"intersection_id": 3,
"is_intersect": 0,
"set": "groHMM"
},
{
"count": 733,
"degree": 2,
"intersection_id": 2,
"is_intersect": 1,
"set": "groHMM"
},
{
"count": 3023,
"degree": 3,
"intersection_id": 6,
"is_intersect": 1,
"set": "groHMM"
},
{
"count": 39786,
"degree": 2,
"intersection_id": 5,
"is_intersect": 1,
"set": "groHMM"
},
{
"count": 122236,
"degree": 1,
"intersection_id": 1,
"is_intersect": 1,
"set": "groHMM"
},
{
"count": 1,
"degree": 1,
"intersection_id": 0,
"is_intersect": 1,
"set": "PINTS"
},
{
"count": 4,
"degree": 2,
"intersection_id": 4,
"is_intersect": 1,
"set": "PINTS"
},
{
"count": 50,
"degree": 1,
"intersection_id": 3,
"is_intersect": 0,
"set": "PINTS"
},
{
"count": 733,
"degree": 2,
"intersection_id": 2,
"is_intersect": 1,
"set": "PINTS"
},
{
"count": 3023,
"degree": 3,
"intersection_id": 6,
"is_intersect": 1,
"set": "PINTS"
},
{
"count": 39786,
"degree": 2,
"intersection_id": 5,
"is_intersect": 0,
"set": "PINTS"
},
{
"count": 122236,
"degree": 1,
"intersection_id": 1,
"is_intersect": 0,
"set": "PINTS"
}
],
"data-cfcb4e20eb74579da1904510ab0e02e1": [
{"set": "Homer", "set_order": 1},
{"set": "groHMM", "set_order": 2},
{"set": "PINTS", "set_order": 3}
]
},
"params": [
{
"name": "param_8",
"select": {
"fields": ["intersection_id"],
"on": "mouseover",
"type": "point"
},
"views": ["view_9", "view_10"]
},
{
"bind": "legend",
"name": "param_7",
"select": {"fields": ["set"], "type": "point"},
"views": ["view_9", "view_10", "view_11", "view_12"]
}
],
"spacing": 5,
"title": {
"fontSize": 20,
"fontWeight": 500,
"subtitle": "",
"subtitleColor": "#3A3A3A",
"subtitleFontSize": 14,
"text": "Common DNAse sensitive regions amoung identification methods"
},
"usermeta": {"embedOptions": {}},
"vconcat": [
{
"height": 420,
"layer": [
{
"encoding": {
"color": {
"condition": {
"test": {"not": {"param": "param_8"}},
"value": "#3A3A3A"
},
"value": "#EA4667"
},
"tooltip": [
{
"aggregate": "max",
"field": "count",
"title": "Cardinality",
"type": "quantitative"
},
{"field": "degree", "title": "Degree", "type": "quantitative"},
{"field": "sets", "title": "Sets", "type": "nominal"}
],
"x": {
"axis": {
"domain": true,
"grid": false,
"labels": false,
"ticks": false
},
"field": "intersection_id",
"sort": {"field": "count", "order": "ascending"},
"title": null,
"type": "nominal"
},
"y": {
"aggregate": "max",
"axis": {"grid": false, "orient": "right", "tickCount": 3},
"field": "count",
"title": "Intersection Size",
"type": "quantitative"
}
},
"mark": {"color": "#3A3A3A", "size": 30, "type": "bar"},
"name": "view_9",
"transform": [
{"filter": {"param": "param_7"}},
{
"groupby": ["intersection_id", "count"],
"op": "max",
"pivot": "set",
"value": "is_intersect"
},
{
"aggregate": [{"as": "count", "field": "count", "op": "sum"}],
"groupby": ["Homer", "groHMM", "PINTS"]
},
{
"as": "degree",
"calculate": "(isDefined(datum['Homer']) ? datum['Homer'] : 0)+(isDefined(datum['groHMM']) ? datum['groHMM'] : 0)+(isDefined(datum['PINTS']) ? datum['PINTS'] : 0)"
},
{"filter": "(datum['degree'] !== 0)"},
{
"frame": [null, null],
"window": [
{"as": "intersection_id", "field": "", "op": "row_number"}
]
},
{
"as": ["set", "is_intersect"],
"fold": ["Homer", "groHMM", "PINTS"]
},
{
"from": {
"data": {"name": "data-6635980b88b64eda995df8e249bb7b69"},
"fields": ["set_abbre"],
"key": "set"
},
"lookup": "set"
},
{
"from": {
"data": {"name": "data-cfcb4e20eb74579da1904510ab0e02e1"},
"fields": ["set_order"],
"key": "set"
},
"lookup": "set"
},
{"filter": {"param": "param_7"}},
{
"frame": [null, 0],
"sort": [{"field": "set_order"}],
"window": [{"as": "set_order", "field": "set", "op": "distinct"}]
}
]
},
{
"encoding": {
"color": {
"condition": {
"test": {"not": {"param": "param_8"}},
"value": "#3A3A3A"
},
"value": "#EA4667"
},
"text": {"field": "count", "format": ".0f", "type": "quantitative"},
"tooltip": [
{
"aggregate": "max",
"field": "count",
"title": "Cardinality",
"type": "quantitative"
},
{"field": "degree", "title": "Degree", "type": "quantitative"},
{"field": "sets", "title": "Sets", "type": "nominal"}
],
"x": {
"axis": {
"domain": true,
"grid": false,
"labels": false,
"ticks": false
},
"field": "intersection_id",
"sort": {"field": "count", "order": "ascending"},
"title": null,
"type": "nominal"
},
"y": {
"aggregate": "max",
"axis": {"grid": false, "orient": "right", "tickCount": 3},
"field": "count",
"title": "Intersection Size",
"type": "quantitative"
}
},
"mark": {"color": "#3A3A3A", "dy": -10, "size": 16, "type": "text"},
"transform": [
{"filter": {"param": "param_7"}},
{
"groupby": ["intersection_id", "count"],
"op": "max",
"pivot": "set",
"value": "is_intersect"
},
{
"aggregate": [{"as": "count", "field": "count", "op": "sum"}],
"groupby": ["Homer", "groHMM", "PINTS"]
},
{
"as": "degree",
"calculate": "(isDefined(datum['Homer']) ? datum['Homer'] : 0)+(isDefined(datum['groHMM']) ? datum['groHMM'] : 0)+(isDefined(datum['PINTS']) ? datum['PINTS'] : 0)"
},
{"filter": "(datum['degree'] !== 0)"},
{
"frame": [null, null],
"window": [
{"as": "intersection_id", "field": "", "op": "row_number"}
]
},
{
"as": ["set", "is_intersect"],
"fold": ["Homer", "groHMM", "PINTS"]
},
{
"from": {
"data": {"name": "data-6635980b88b64eda995df8e249bb7b69"},
"fields": ["set_abbre"],
"key": "set"
},
"lookup": "set"
},
{
"from": {
"data": {"name": "data-cfcb4e20eb74579da1904510ab0e02e1"},
"fields": ["set_order"],
"key": "set"
},
"lookup": "set"
},
{"filter": {"param": "param_7"}},
{
"frame": [null, 0],
"sort": [{"field": "set_order"}],
"window": [{"as": "set_order", "field": "set", "op": "distinct"}]
}
]
}
],
"width": 1020
},
{
"hconcat": [
{
"layer": [
{
"encoding": {
"color": {
"condition": {
"test": {"not": {"param": "param_8"}},
"value": "#3A3A3A"
},
"value": "#EA4667"
},
"tooltip": [
{
"aggregate": "max",
"field": "count",
"title": "Cardinality",
"type": "quantitative"
},
{
"field": "degree",
"title": "Degree",
"type": "quantitative"
},
{"field": "sets", "title": "Sets", "type": "nominal"}
],
"x": {
"axis": {
"domain": false,
"grid": false,
"labels": false,
"ticks": false
},
"field": "intersection_id",
"sort": {"field": "count", "order": "ascending"},
"title": null,
"type": "nominal"
},
"y": {
"axis": {
"domain": false,
"grid": false,
"labels": false,
"ticks": false
},
"field": "set_order",
"title": null,
"type": "nominal"
}
},
"mark": {"opacity": 1, "size": 100, "type": "circle"},
"name": "view_10",
"transform": [
{"filter": {"param": "param_7"}},
{
"groupby": ["intersection_id", "count"],
"op": "max",
"pivot": "set",
"value": "is_intersect"
},
{
"aggregate": [{"as": "count", "field": "count", "op": "sum"}],
"groupby": ["Homer", "groHMM", "PINTS"]
},
{
"as": "degree",
"calculate": "(isDefined(datum['Homer']) ? datum['Homer'] : 0)+(isDefined(datum['groHMM']) ? datum['groHMM'] : 0)+(isDefined(datum['PINTS']) ? datum['PINTS'] : 0)"
},
{"filter": "(datum['degree'] !== 0)"},
{
"frame": [null, null],
"window": [
{"as": "intersection_id", "field": "", "op": "row_number"}
]
},
{
"as": ["set", "is_intersect"],
"fold": ["Homer", "groHMM", "PINTS"]
},
{
"from": {
"data": {"name": "data-6635980b88b64eda995df8e249bb7b69"},
"fields": ["set_abbre"],
"key": "set"
},
"lookup": "set"
},
{
"from": {
"data": {"name": "data-cfcb4e20eb74579da1904510ab0e02e1"},
"fields": ["set_order"],
"key": "set"
},
"lookup": "set"
},
{"filter": {"param": "param_7"}},
{
"frame": [null, 0],
"sort": [{"field": "set_order"}],
"window": [
{"as": "set_order", "field": "set", "op": "distinct"}
]
},
{"filter": "(datum['is_intersect'] === 1)"}
]
},
{
"encoding": {
"color": {"value": "#F7F7F7"},
"tooltip": [
{
"aggregate": "max",
"field": "count",
"title": "Cardinality",
"type": "quantitative"
},
{
"field": "degree",
"title": "Degree",
"type": "quantitative"
},
{"field": "sets", "title": "Sets", "type": "nominal"}
],
"x": {
"axis": {
"domain": false,
"grid": false,
"labels": false,
"ticks": false
},
"field": "intersection_id",
"sort": {"field": "count", "order": "ascending"},
"title": null,
"type": "nominal"
},
"y": {
"axis": {
"domain": false,
"grid": false,
"labels": false,
"ticks": false
},
"field": "set_order",
"title": null,
"type": "nominal"
}
},
"mark": {"type": "rect"},
"transform": [
{"filter": {"param": "param_7"}},
{
"groupby": ["intersection_id", "count"],
"op": "max",
"pivot": "set",
"value": "is_intersect"
},
{
"aggregate": [{"as": "count", "field": "count", "op": "sum"}],
"groupby": ["Homer", "groHMM", "PINTS"]
},
{
"as": "degree",
"calculate": "(isDefined(datum['Homer']) ? datum['Homer'] : 0)+(isDefined(datum['groHMM']) ? datum['groHMM'] : 0)+(isDefined(datum['PINTS']) ? datum['PINTS'] : 0)"
},
{"filter": "(datum['degree'] !== 0)"},
{
"frame": [null, null],
"window": [
{"as": "intersection_id", "field": "", "op": "row_number"}
]
},
{
"as": ["set", "is_intersect"],
"fold": ["Homer", "groHMM", "PINTS"]
},
{
"from": {
"data": {"name": "data-6635980b88b64eda995df8e249bb7b69"},
"fields": ["set_abbre"],
"key": "set"
},
"lookup": "set"
},
{
"from": {
"data": {"name": "data-cfcb4e20eb74579da1904510ab0e02e1"},
"fields": ["set_order"],
"key": "set"
},
"lookup": "set"
},
{"filter": {"param": "param_7"}},
{
"frame": [null, 0],
"sort": [{"field": "set_order"}],
"window": [
{"as": "set_order", "field": "set", "op": "distinct"}
]
},
{"filter": "((datum['set_order'] % 2) === 1)"}
]
},
{
"encoding": {
"color": {"value": "#E6E6E6"},
"tooltip": [
{
"aggregate": "max",
"field": "count",
"title": "Cardinality",
"type": "quantitative"
},
{
"field": "degree",
"title": "Degree",
"type": "quantitative"
},
{"field": "sets", "title": "Sets", "type": "nominal"}
],
"x": {
"axis": {
"domain": false,
"grid": false,
"labels": false,
"ticks": false
},
"field": "intersection_id",
"sort": {"field": "count", "order": "ascending"},
"title": null,
"type": "nominal"
},
"y": {
"axis": {
"domain": false,
"grid": false,
"labels": false,
"ticks": false
},
"field": "set_order",
"title": null,
"type": "nominal"
}
},
"mark": {"opacity": 1, "size": 100, "type": "circle"},
"transform": [
{"filter": {"param": "param_7"}},
{
"groupby": ["intersection_id", "count"],
"op": "max",
"pivot": "set",
"value": "is_intersect"
},
{
"aggregate": [{"as": "count", "field": "count", "op": "sum"}],
"groupby": ["Homer", "groHMM", "PINTS"]
},
{
"as": "degree",
"calculate": "(isDefined(datum['Homer']) ? datum['Homer'] : 0)+(isDefined(datum['groHMM']) ? datum['groHMM'] : 0)+(isDefined(datum['PINTS']) ? datum['PINTS'] : 0)"
},
{"filter": "(datum['degree'] !== 0)"},
{
"frame": [null, null],
"window": [
{"as": "intersection_id", "field": "", "op": "row_number"}
]
},
{
"as": ["set", "is_intersect"],
"fold": ["Homer", "groHMM", "PINTS"]
},
{
"from": {
"data": {"name": "data-6635980b88b64eda995df8e249bb7b69"},
"fields": ["set_abbre"],
"key": "set"
},
"lookup": "set"
},
{
"from": {
"data": {"name": "data-cfcb4e20eb74579da1904510ab0e02e1"},
"fields": ["set_order"],
"key": "set"
},
"lookup": "set"
},
{"filter": {"param": "param_7"}},
{
"frame": [null, 0],
"sort": [{"field": "set_order"}],
"window": [
{"as": "set_order", "field": "set", "op": "distinct"}
]
}
]
},
{
"encoding": {
"color": {
"condition": {
"test": {"not": {"param": "param_8"}},
"value": "#3A3A3A"
},
"value": "#EA4667"
},
"tooltip": [
{
"aggregate": "max",
"field": "count",
"title": "Cardinality",
"type": "quantitative"
},
{
"field": "degree",
"title": "Degree",
"type": "quantitative"
},
{"field": "sets", "title": "Sets", "type": "nominal"}
],
"x": {
"axis": {
"domain": true,
"grid": false,
"labels": false,
"ticks": false
},
"field": "intersection_id",
"sort": {"field": "count", "order": "ascending"},
"title": null,
"type": "nominal"
},
"y": {
"aggregate": "min",
"field": "set_order",
"type": "nominal"
},
"y2": {"aggregate": "max", "field": "set_order"}
},
"mark": {"color": "#3A3A3A", "size": 1, "type": "bar"},
"transform": [
{"filter": {"param": "param_7"}},
{
"groupby": ["intersection_id", "count"],
"op": "max",
"pivot": "set",
"value": "is_intersect"
},
{
"aggregate": [{"as": "count", "field": "count", "op": "sum"}],
"groupby": ["Homer", "groHMM", "PINTS"]
},
{
"as": "degree",
"calculate": "(isDefined(datum['Homer']) ? datum['Homer'] : 0)+(isDefined(datum['groHMM']) ? datum['groHMM'] : 0)+(isDefined(datum['PINTS']) ? datum['PINTS'] : 0)"
},
{"filter": "(datum['degree'] !== 0)"},
{
"frame": [null, null],
"window": [
{"as": "intersection_id", "field": "", "op": "row_number"}
]
},
{
"as": ["set", "is_intersect"],
"fold": ["Homer", "groHMM", "PINTS"]
},
{
"from": {
"data": {"name": "data-6635980b88b64eda995df8e249bb7b69"},
"fields": ["set_abbre"],
"key": "set"
},
"lookup": "set"
},
{
"from": {
"data": {"name": "data-cfcb4e20eb74579da1904510ab0e02e1"},
"fields": ["set_order"],
"key": "set"
},
"lookup": "set"
},
{"filter": {"param": "param_7"}},
{
"frame": [null, 0],
"sort": [{"field": "set_order"}],
"window": [
{"as": "set_order", "field": "set", "op": "distinct"}
]
},
{"filter": "(datum['is_intersect'] === 1)"}
]
},
{
"encoding": {
"color": {
"condition": {
"test": {"not": {"param": "param_8"}},
"value": "#3A3A3A"
},
"value": "#EA4667"
},
"tooltip": [
{
"aggregate": "max",
"field": "count",
"title": "Cardinality",
"type": "quantitative"
},
{
"field": "degree",
"title": "Degree",
"type": "quantitative"
},
{"field": "sets", "title": "Sets", "type": "nominal"}
],
"x": {
"axis": {
"domain": false,
"grid": false,
"labels": false,
"ticks": false
},
"field": "intersection_id",
"sort": {"field": "count", "order": "ascending"},
"title": null,
"type": "nominal"
},
"y": {
"axis": {
"domain": false,
"grid": false,
"labels": false,
"ticks": false
},
"field": "set_order",
"title": null,
"type": "nominal"
}
},
"mark": {"opacity": 1, "size": 100, "type": "circle"},
"transform": [
{"filter": {"param": "param_7"}},
{
"groupby": ["intersection_id", "count"],
"op": "max",
"pivot": "set",
"value": "is_intersect"
},
{
"aggregate": [{"as": "count", "field": "count", "op": "sum"}],
"groupby": ["Homer", "groHMM", "PINTS"]
},
{
"as": "degree",
"calculate": "(isDefined(datum['Homer']) ? datum['Homer'] : 0)+(isDefined(datum['groHMM']) ? datum['groHMM'] : 0)+(isDefined(datum['PINTS']) ? datum['PINTS'] : 0)"
},
{"filter": "(datum['degree'] !== 0)"},
{
"frame": [null, null],
"window": [
{"as": "intersection_id", "field": "", "op": "row_number"}
]
},
{
"as": ["set", "is_intersect"],
"fold": ["Homer", "groHMM", "PINTS"]
},
{
"from": {
"data": {"name": "data-6635980b88b64eda995df8e249bb7b69"},
"fields": ["set_abbre"],
"key": "set"
},
"lookup": "set"
},
{
"from": {
"data": {"name": "data-cfcb4e20eb74579da1904510ab0e02e1"},
"fields": ["set_order"],
"key": "set"
},
"lookup": "set"
},
{"filter": {"param": "param_7"}},
{
"frame": [null, 0],
"sort": [{"field": "set_order"}],
"window": [
{"as": "set_order", "field": "set", "op": "distinct"}
]
},
{"filter": "(datum['is_intersect'] === 1)"}
]
}
],
"width": 1020
},
{
"encoding": {
"color": {"value": "black"},
"opacity": {"value": 1},
"text": {"field": "set_abbre", "type": "nominal"},
"y": {
"axis": {
"domain": false,
"grid": false,
"labels": false,
"ticks": false
},
"field": "set_order",
"title": null,
"type": "nominal"
}
},
"mark": {"align": "center", "type": "text"},
"name": "view_11",
"transform": [
{"filter": {"param": "param_7"}},
{
"groupby": ["intersection_id", "count"],
"op": "max",
"pivot": "set",
"value": "is_intersect"
},
{
"aggregate": [{"as": "count", "field": "count", "op": "sum"}],
"groupby": ["Homer", "groHMM", "PINTS"]
},
{
"as": "degree",
"calculate": "(isDefined(datum['Homer']) ? datum['Homer'] : 0)+(isDefined(datum['groHMM']) ? datum['groHMM'] : 0)+(isDefined(datum['PINTS']) ? datum['PINTS'] : 0)"
},
{"filter": "(datum['degree'] !== 0)"},
{
"frame": [null, null],
"window": [
{"as": "intersection_id", "field": "", "op": "row_number"}
]
},
{
"as": ["set", "is_intersect"],
"fold": ["Homer", "groHMM", "PINTS"]
},
{
"from": {
"data": {"name": "data-6635980b88b64eda995df8e249bb7b69"},
"fields": ["set_abbre"],
"key": "set"
},
"lookup": "set"
},
{
"from": {
"data": {"name": "data-cfcb4e20eb74579da1904510ab0e02e1"},
"fields": ["set_order"],
"key": "set"
},
"lookup": "set"
},
{"filter": {"param": "param_7"}},
{
"frame": [null, 0],
"sort": [{"field": "set_order"}],
"window": [{"as": "set_order", "field": "set", "op": "distinct"}]
}
],
"width": 180
},
{
"encoding": {
"color": {
"field": "set",
"scale": {
"domain": ["Homer", "groHMM", "PINTS"],
"range": [
"#55A8DB",
"#3070B5",
"#30363F",
"#F1AD60",
"#DF6234",
"#BDC6CA"
]
},
"title": null,
"type": "nominal"
},
"opacity": {"value": 1},
"x": {
"aggregate": "sum",
"axis": {"grid": false, "tickCount": 3},
"field": "count",
"title": "Set Size",
"type": "quantitative"
},
"y": {
"axis": {
"domain": false,
"grid": false,
"labels": false,
"ticks": false
},
"field": "set_order",
"title": null,
"type": "nominal"
}
},
"mark": {"size": 20, "type": "bar"},
"name": "view_12",
"transform": [
{"filter": {"param": "param_7"}},
{
"groupby": ["intersection_id", "count"],
"op": "max",
"pivot": "set",
"value": "is_intersect"
},
{
"aggregate": [{"as": "count", "field": "count", "op": "sum"}],
"groupby": ["Homer", "groHMM", "PINTS"]
},
{
"as": "degree",
"calculate": "(isDefined(datum['Homer']) ? datum['Homer'] : 0)+(isDefined(datum['groHMM']) ? datum['groHMM'] : 0)+(isDefined(datum['PINTS']) ? datum['PINTS'] : 0)"
},
{"filter": "(datum['degree'] !== 0)"},
{
"frame": [null, null],
"window": [
{"as": "intersection_id", "field": "", "op": "row_number"}
]
},
{
"as": ["set", "is_intersect"],
"fold": ["Homer", "groHMM", "PINTS"]
},
{
"from": {
"data": {"name": "data-6635980b88b64eda995df8e249bb7b69"},
"fields": ["set_abbre"],
"key": "set"
},
"lookup": "set"
},
{
"from": {
"data": {"name": "data-cfcb4e20eb74579da1904510ab0e02e1"},
"fields": ["set_order"],
"key": "set"
},
"lookup": "set"
},
{"filter": {"param": "param_7"}},
{
"frame": [null, 0],
"sort": [{"field": "set_order"}],
"window": [{"as": "set_order", "field": "set", "op": "distinct"}]
},
{"filter": "(datum['is_intersect'] === 1)"}
],
"width": 180
}
],
"resolve": {"scale": {"y": "shared"}},
"spacing": 0
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment