adjust chart def
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
- "config": {
- "view": {
"width": 450,
- "height": 200
- },
- "mark": {
- "tooltip": null
- },
- "title": {
- "anchor": "middle"
- },
- "header": {
- "title": null
- }
- },
+ "height": 200,
- "data": {
- "values": []
- },
-
- "mark": "bar",
"title": {
"text": "Count of Additional Comparisons Generated by Each Blocking Rule",
"subtitle": "(Counts exclude comparisons already generated by previous rules)"
},
+ "data": {"values": []},
+
+ "mark": "bar",
+
"encoding": {
"x": {
"title": "Comparisons Generated by Rule(s)",
"y": {
"field": "rule",
"title": "SQL Blocking Rule",
- "sort": "-x2"
+ "sort": ["-x2"]
},
"color": {
"field": "rule",
"format": ","
},
{
- "type": "ordinal",
+ "type": "quantitative",
"field": "reduction_ratio",
"title": "Reduction Ratio (cumulative rows/cartesian product)"
}
