Delete ChartAlignbench_dataset
Browse files- ChartAlignbench_dataset/attr_edit/attribute_edit_info.json +0 -544
- ChartAlignbench_dataset/attr_edit/color_altered/bar_19.png +0 -0
- ChartAlignbench_dataset/attr_edit/color_altered/bar_227.png +0 -0
- ChartAlignbench_dataset/attr_edit/color_altered/bar_254.png +0 -0
- ChartAlignbench_dataset/attr_edit/color_altered/bar_258.png +0 -0
- ChartAlignbench_dataset/attr_edit/color_altered/bar_279.png +0 -0
- ChartAlignbench_dataset/attr_edit/color_altered/bar_380.png +0 -0
- ChartAlignbench_dataset/attr_edit/color_altered/bar_430.png +0 -0
- ChartAlignbench_dataset/attr_edit/color_altered/bar_502.png +0 -0
- ChartAlignbench_dataset/attr_edit/color_altered/bar_83.png +0 -0
- ChartAlignbench_dataset/attr_edit/color_altered/bar_87.png +0 -0
- ChartAlignbench_dataset/attr_edit/legend_altered/bar_138.png +0 -0
- ChartAlignbench_dataset/attr_edit/legend_altered/bar_143.png +0 -0
- ChartAlignbench_dataset/attr_edit/legend_altered/bar_185.png +0 -0
- ChartAlignbench_dataset/attr_edit/legend_altered/bar_254.png +0 -0
- ChartAlignbench_dataset/attr_edit/legend_altered/bar_395.png +0 -0
- ChartAlignbench_dataset/attr_edit/legend_altered/bar_502.png +0 -0
- ChartAlignbench_dataset/attr_edit/legend_altered/bar_85.png +0 -0
- ChartAlignbench_dataset/attr_edit/legend_altered/bar_96.png +0 -0
- ChartAlignbench_dataset/attr_edit/text_style_altered/bar_143.png +0 -0
- ChartAlignbench_dataset/attr_edit/text_style_altered/bar_254.png +0 -0
- ChartAlignbench_dataset/attr_edit/text_style_altered/bar_502.png +0 -0
- ChartAlignbench_dataset/attr_edit/text_style_altered/bar_85.png +0 -0
- ChartAlignbench_dataset/attr_edit/text_style_altered/bar_96.png +0 -0
- ChartAlignbench_dataset/cell_edit/1_cell_edit/bar_159.png +0 -0
- ChartAlignbench_dataset/cell_edit/1_cell_edit/bar_279.png +0 -0
- ChartAlignbench_dataset/cell_edit/1_cell_edit/bar_395.png +0 -0
- ChartAlignbench_dataset/cell_edit/1_cell_edit/bar_87.png +0 -0
- ChartAlignbench_dataset/cell_edit/2_cell_edit/bar_159.png +0 -0
- ChartAlignbench_dataset/cell_edit/2_cell_edit/bar_87.png +0 -0
- ChartAlignbench_dataset/cell_edit/2_cell_edit/bar_96.png +0 -0
- ChartAlignbench_dataset/cell_edit/3_cell_edit/bar_159.png +0 -0
- ChartAlignbench_dataset/cell_edit/3_cell_edit/bar_83.png +0 -0
- ChartAlignbench_dataset/cell_edit/3_cell_edit/bar_87.png +0 -0
- ChartAlignbench_dataset/cell_edit/cell_edit.json +0 -176
- ChartAlignbench_dataset/dataset.py +0 -85
ChartAlignbench_dataset/attr_edit/attribute_edit_info.json
DELETED
|
@@ -1,544 +0,0 @@
|
|
| 1 |
-
[
|
| 2 |
-
{
|
| 3 |
-
"imgname": "bar_87",
|
| 4 |
-
"attr_change_type": "color",
|
| 5 |
-
"attr_change_json": {
|
| 6 |
-
"Salary(USD)": {
|
| 7 |
-
"initial value": "#0000ff",
|
| 8 |
-
"modified value": "#390062"
|
| 9 |
-
},
|
| 10 |
-
"Benefits(USD)": {
|
| 11 |
-
"initial value": "#ff0000",
|
| 12 |
-
"modified value": "#8cd0a4"
|
| 13 |
-
}
|
| 14 |
-
}
|
| 15 |
-
},
|
| 16 |
-
{
|
| 17 |
-
"imgname": "bar_85",
|
| 18 |
-
"attr_change_type": "text_style",
|
| 19 |
-
"attr_change_json": {
|
| 20 |
-
"chart title": {
|
| 21 |
-
"size": {
|
| 22 |
-
"initial value": 14,
|
| 23 |
-
"modified value": 10
|
| 24 |
-
},
|
| 25 |
-
"weight": {
|
| 26 |
-
"initial value": "normal",
|
| 27 |
-
"modified value": "light"
|
| 28 |
-
},
|
| 29 |
-
"fontfamily": {
|
| 30 |
-
"initial value": "sans-serif",
|
| 31 |
-
"modified value": "sans-serif"
|
| 32 |
-
}
|
| 33 |
-
},
|
| 34 |
-
"chart legend": {
|
| 35 |
-
"size": {
|
| 36 |
-
"initial value": 12,
|
| 37 |
-
"modified value": 18
|
| 38 |
-
},
|
| 39 |
-
"weight": {
|
| 40 |
-
"initial value": "normal",
|
| 41 |
-
"modified value": "normal"
|
| 42 |
-
},
|
| 43 |
-
"fontfamily": {
|
| 44 |
-
"initial value": "sans-serif",
|
| 45 |
-
"modified value": "sans-serif"
|
| 46 |
-
}
|
| 47 |
-
},
|
| 48 |
-
"chart axes labels": {
|
| 49 |
-
"size": {
|
| 50 |
-
"initial value": 12,
|
| 51 |
-
"modified value": 18
|
| 52 |
-
},
|
| 53 |
-
"weight": {
|
| 54 |
-
"initial value": "normal",
|
| 55 |
-
"modified value": "normal"
|
| 56 |
-
},
|
| 57 |
-
"fontfamily": {
|
| 58 |
-
"initial value": "sans-serif",
|
| 59 |
-
"modified value": "sans-serif"
|
| 60 |
-
}
|
| 61 |
-
},
|
| 62 |
-
"chart axes ticks": {
|
| 63 |
-
"size": {
|
| 64 |
-
"initial value": 12,
|
| 65 |
-
"modified value": 22
|
| 66 |
-
},
|
| 67 |
-
"weight": {
|
| 68 |
-
"initial value": "normal",
|
| 69 |
-
"modified value": "normal"
|
| 70 |
-
},
|
| 71 |
-
"fontfamily": {
|
| 72 |
-
"initial value": "sans-serif",
|
| 73 |
-
"modified value": "sans-serif"
|
| 74 |
-
}
|
| 75 |
-
}
|
| 76 |
-
}
|
| 77 |
-
},
|
| 78 |
-
{
|
| 79 |
-
"imgname": "bar_85",
|
| 80 |
-
"attr_change_type": "legend",
|
| 81 |
-
"attr_change_json": {
|
| 82 |
-
"position": {
|
| 83 |
-
"initial value": "upper left",
|
| 84 |
-
"modified value": "upper left"
|
| 85 |
-
}
|
| 86 |
-
}
|
| 87 |
-
},
|
| 88 |
-
{
|
| 89 |
-
"imgname": "bar_395",
|
| 90 |
-
"attr_change_type": "legend",
|
| 91 |
-
"attr_change_json": {
|
| 92 |
-
"position": {
|
| 93 |
-
"initial value": "upper center",
|
| 94 |
-
"modified value": "upper center"
|
| 95 |
-
}
|
| 96 |
-
}
|
| 97 |
-
},
|
| 98 |
-
{
|
| 99 |
-
"imgname": "bar_279",
|
| 100 |
-
"attr_change_type": "color",
|
| 101 |
-
"attr_change_json": {
|
| 102 |
-
"Hotels": {
|
| 103 |
-
"initial value": "#60A3BC",
|
| 104 |
-
"modified value": "#60A3BC"
|
| 105 |
-
},
|
| 106 |
-
"Restaurants": {
|
| 107 |
-
"initial value": "#F7BB41",
|
| 108 |
-
"modified value": "#F7BB41"
|
| 109 |
-
},
|
| 110 |
-
"Tourists(hundred)": {
|
| 111 |
-
"initial value": "#F3715C",
|
| 112 |
-
"modified value": "#b92839"
|
| 113 |
-
}
|
| 114 |
-
}
|
| 115 |
-
},
|
| 116 |
-
{
|
| 117 |
-
"imgname": "bar_138",
|
| 118 |
-
"attr_change_type": "legend",
|
| 119 |
-
"attr_change_json": {
|
| 120 |
-
"position": {
|
| 121 |
-
"initial value": "upper left",
|
| 122 |
-
"modified value": "upper left"
|
| 123 |
-
}
|
| 124 |
-
}
|
| 125 |
-
},
|
| 126 |
-
{
|
| 127 |
-
"imgname": "bar_185",
|
| 128 |
-
"attr_change_type": "legend",
|
| 129 |
-
"attr_change_json": {
|
| 130 |
-
"position": {
|
| 131 |
-
"initial value": "upper right",
|
| 132 |
-
"modified value": "upper right"
|
| 133 |
-
}
|
| 134 |
-
}
|
| 135 |
-
},
|
| 136 |
-
{
|
| 137 |
-
"imgname": "bar_83",
|
| 138 |
-
"attr_change_type": "color",
|
| 139 |
-
"attr_change_json": {
|
| 140 |
-
"Manufacturing Output(million)": {
|
| 141 |
-
"initial value": "#000000",
|
| 142 |
-
"modified value": "#000000"
|
| 143 |
-
},
|
| 144 |
-
"Production Cost(million)": {
|
| 145 |
-
"initial value": "#000000",
|
| 146 |
-
"modified value": "#28da7e"
|
| 147 |
-
}
|
| 148 |
-
}
|
| 149 |
-
},
|
| 150 |
-
{
|
| 151 |
-
"imgname": "bar_96",
|
| 152 |
-
"attr_change_type": "text_style",
|
| 153 |
-
"attr_change_json": {
|
| 154 |
-
"chart title": {
|
| 155 |
-
"size": {
|
| 156 |
-
"initial value": 14,
|
| 157 |
-
"modified value": 20
|
| 158 |
-
},
|
| 159 |
-
"weight": {
|
| 160 |
-
"initial value": "normal",
|
| 161 |
-
"modified value": "light"
|
| 162 |
-
},
|
| 163 |
-
"fontfamily": {
|
| 164 |
-
"initial value": "sans-serif",
|
| 165 |
-
"modified value": "cursive"
|
| 166 |
-
}
|
| 167 |
-
},
|
| 168 |
-
"chart legend": {
|
| 169 |
-
"size": {
|
| 170 |
-
"initial value": 12,
|
| 171 |
-
"modified value": 14
|
| 172 |
-
},
|
| 173 |
-
"weight": {
|
| 174 |
-
"initial value": "normal",
|
| 175 |
-
"modified value": "normal"
|
| 176 |
-
},
|
| 177 |
-
"fontfamily": {
|
| 178 |
-
"initial value": "sans-serif",
|
| 179 |
-
"modified value": "cursive"
|
| 180 |
-
}
|
| 181 |
-
},
|
| 182 |
-
"chart axes labels": {
|
| 183 |
-
"size": {
|
| 184 |
-
"initial value": 12,
|
| 185 |
-
"modified value": 14
|
| 186 |
-
},
|
| 187 |
-
"weight": {
|
| 188 |
-
"initial value": "normal",
|
| 189 |
-
"modified value": "normal"
|
| 190 |
-
},
|
| 191 |
-
"fontfamily": {
|
| 192 |
-
"initial value": "sans-serif",
|
| 193 |
-
"modified value": "cursive"
|
| 194 |
-
}
|
| 195 |
-
},
|
| 196 |
-
"chart axes ticks": {
|
| 197 |
-
"size": {
|
| 198 |
-
"initial value": 12,
|
| 199 |
-
"modified value": 20
|
| 200 |
-
},
|
| 201 |
-
"weight": {
|
| 202 |
-
"initial value": "normal",
|
| 203 |
-
"modified value": "normal"
|
| 204 |
-
},
|
| 205 |
-
"fontfamily": {
|
| 206 |
-
"initial value": "sans-serif",
|
| 207 |
-
"modified value": "cursive"
|
| 208 |
-
}
|
| 209 |
-
}
|
| 210 |
-
}
|
| 211 |
-
},
|
| 212 |
-
{
|
| 213 |
-
"imgname": "bar_96",
|
| 214 |
-
"attr_change_type": "legend",
|
| 215 |
-
"attr_change_json": {
|
| 216 |
-
"position": {
|
| 217 |
-
"initial value": "lower right",
|
| 218 |
-
"modified value": "upper left"
|
| 219 |
-
}
|
| 220 |
-
}
|
| 221 |
-
},
|
| 222 |
-
{
|
| 223 |
-
"imgname": "bar_258",
|
| 224 |
-
"attr_change_type": "color",
|
| 225 |
-
"attr_change_json": {
|
| 226 |
-
"Websites": {
|
| 227 |
-
"initial value": "#0099cc",
|
| 228 |
-
"modified value": "#579f7c"
|
| 229 |
-
},
|
| 230 |
-
"Social Media Users": {
|
| 231 |
-
"initial value": "#ff9933",
|
| 232 |
-
"modified value": "#ff9933"
|
| 233 |
-
}
|
| 234 |
-
}
|
| 235 |
-
},
|
| 236 |
-
{
|
| 237 |
-
"imgname": "bar_430",
|
| 238 |
-
"attr_change_type": "color",
|
| 239 |
-
"attr_change_json": {
|
| 240 |
-
"Retail Stores": {
|
| 241 |
-
"initial value": "#FFA500",
|
| 242 |
-
"modified value": "#FFA500"
|
| 243 |
-
},
|
| 244 |
-
"Online Stores": {
|
| 245 |
-
"initial value": "#0000FF",
|
| 246 |
-
"modified value": "#0000FF"
|
| 247 |
-
}
|
| 248 |
-
}
|
| 249 |
-
},
|
| 250 |
-
{
|
| 251 |
-
"imgname": "bar_19",
|
| 252 |
-
"attr_change_type": "color",
|
| 253 |
-
"attr_change_json": {
|
| 254 |
-
"Criminal Cases": {
|
| 255 |
-
"initial value": "#0000ff",
|
| 256 |
-
"modified value": "#1ca3e6"
|
| 257 |
-
},
|
| 258 |
-
"Civil Cases": {
|
| 259 |
-
"initial value": "#ff0000",
|
| 260 |
-
"modified value": "#ff0000"
|
| 261 |
-
}
|
| 262 |
-
}
|
| 263 |
-
},
|
| 264 |
-
{
|
| 265 |
-
"imgname": "bar_143",
|
| 266 |
-
"attr_change_type": "text_style",
|
| 267 |
-
"attr_change_json": {
|
| 268 |
-
"chart title": {
|
| 269 |
-
"size": {
|
| 270 |
-
"initial value": 14,
|
| 271 |
-
"modified value": 14
|
| 272 |
-
},
|
| 273 |
-
"weight": {
|
| 274 |
-
"initial value": "normal",
|
| 275 |
-
"modified value": "bold"
|
| 276 |
-
},
|
| 277 |
-
"fontfamily": {
|
| 278 |
-
"initial value": "sans-serif",
|
| 279 |
-
"modified value": "fantasy"
|
| 280 |
-
}
|
| 281 |
-
},
|
| 282 |
-
"chart legend": {
|
| 283 |
-
"size": {
|
| 284 |
-
"initial value": 12,
|
| 285 |
-
"modified value": 8
|
| 286 |
-
},
|
| 287 |
-
"weight": {
|
| 288 |
-
"initial value": "normal",
|
| 289 |
-
"modified value": "normal"
|
| 290 |
-
},
|
| 291 |
-
"fontfamily": {
|
| 292 |
-
"initial value": "sans-serif",
|
| 293 |
-
"modified value": "fantasy"
|
| 294 |
-
}
|
| 295 |
-
},
|
| 296 |
-
"chart axes labels": {
|
| 297 |
-
"size": {
|
| 298 |
-
"initial value": 12,
|
| 299 |
-
"modified value": 22
|
| 300 |
-
},
|
| 301 |
-
"weight": {
|
| 302 |
-
"initial value": "normal",
|
| 303 |
-
"modified value": "light"
|
| 304 |
-
},
|
| 305 |
-
"fontfamily": {
|
| 306 |
-
"initial value": "sans-serif",
|
| 307 |
-
"modified value": "fantasy"
|
| 308 |
-
}
|
| 309 |
-
},
|
| 310 |
-
"chart axes ticks": {
|
| 311 |
-
"size": {
|
| 312 |
-
"initial value": 12,
|
| 313 |
-
"modified value": 16
|
| 314 |
-
},
|
| 315 |
-
"weight": {
|
| 316 |
-
"initial value": "normal",
|
| 317 |
-
"modified value": "normal"
|
| 318 |
-
},
|
| 319 |
-
"fontfamily": {
|
| 320 |
-
"initial value": "sans-serif",
|
| 321 |
-
"modified value": "fantasy"
|
| 322 |
-
}
|
| 323 |
-
}
|
| 324 |
-
}
|
| 325 |
-
},
|
| 326 |
-
{
|
| 327 |
-
"imgname": "bar_143",
|
| 328 |
-
"attr_change_type": "legend",
|
| 329 |
-
"attr_change_json": {
|
| 330 |
-
"position": {
|
| 331 |
-
"initial value": "upper right",
|
| 332 |
-
"modified value": "lower center"
|
| 333 |
-
}
|
| 334 |
-
}
|
| 335 |
-
},
|
| 336 |
-
{
|
| 337 |
-
"imgname": "bar_380",
|
| 338 |
-
"attr_change_type": "color",
|
| 339 |
-
"attr_change_json": {
|
| 340 |
-
"Enrollment rate(%)": {
|
| 341 |
-
"initial value": "#0000FF",
|
| 342 |
-
"modified value": "#eaeea1"
|
| 343 |
-
},
|
| 344 |
-
"Graduation rate(%)": {
|
| 345 |
-
"initial value": "#FF0000",
|
| 346 |
-
"modified value": "#879e5f"
|
| 347 |
-
}
|
| 348 |
-
}
|
| 349 |
-
},
|
| 350 |
-
{
|
| 351 |
-
"imgname": "bar_227",
|
| 352 |
-
"attr_change_type": "color",
|
| 353 |
-
"attr_change_json": {
|
| 354 |
-
"Restaurants": {
|
| 355 |
-
"initial value": "#0000FF",
|
| 356 |
-
"modified value": "#0000FF"
|
| 357 |
-
},
|
| 358 |
-
"Fast Food Chains": {
|
| 359 |
-
"initial value": "#FFA500",
|
| 360 |
-
"modified value": "#FFA500"
|
| 361 |
-
},
|
| 362 |
-
"Delivery Service": {
|
| 363 |
-
"initial value": "#008000",
|
| 364 |
-
"modified value": "#b95799"
|
| 365 |
-
}
|
| 366 |
-
}
|
| 367 |
-
},
|
| 368 |
-
{
|
| 369 |
-
"imgname": "bar_502",
|
| 370 |
-
"attr_change_type": "color",
|
| 371 |
-
"attr_change_json": {
|
| 372 |
-
"Utility A(KWh)": {
|
| 373 |
-
"initial value": "#0000ff",
|
| 374 |
-
"modified value": "#0000ff"
|
| 375 |
-
},
|
| 376 |
-
"Utility B(KWh)": {
|
| 377 |
-
"initial value": "#007f00",
|
| 378 |
-
"modified value": "#2e8bad"
|
| 379 |
-
},
|
| 380 |
-
"Utility C(KWh)": {
|
| 381 |
-
"initial value": "#bfbf00",
|
| 382 |
-
"modified value": "#3823ee"
|
| 383 |
-
}
|
| 384 |
-
}
|
| 385 |
-
},
|
| 386 |
-
{
|
| 387 |
-
"imgname": "bar_502",
|
| 388 |
-
"attr_change_type": "text_style",
|
| 389 |
-
"attr_change_json": {
|
| 390 |
-
"chart title": {
|
| 391 |
-
"size": {
|
| 392 |
-
"initial value": 14,
|
| 393 |
-
"modified value": 18
|
| 394 |
-
},
|
| 395 |
-
"weight": {
|
| 396 |
-
"initial value": "normal",
|
| 397 |
-
"modified value": "normal"
|
| 398 |
-
},
|
| 399 |
-
"fontfamily": {
|
| 400 |
-
"initial value": "sans-serif",
|
| 401 |
-
"modified value": "monospace"
|
| 402 |
-
}
|
| 403 |
-
},
|
| 404 |
-
"chart legend": {
|
| 405 |
-
"size": {
|
| 406 |
-
"initial value": 12,
|
| 407 |
-
"modified value": 20
|
| 408 |
-
},
|
| 409 |
-
"weight": {
|
| 410 |
-
"initial value": "normal",
|
| 411 |
-
"modified value": "normal"
|
| 412 |
-
},
|
| 413 |
-
"fontfamily": {
|
| 414 |
-
"initial value": "sans-serif",
|
| 415 |
-
"modified value": "monospace"
|
| 416 |
-
}
|
| 417 |
-
},
|
| 418 |
-
"chart axes labels": {
|
| 419 |
-
"size": {
|
| 420 |
-
"initial value": 12,
|
| 421 |
-
"modified value": 14
|
| 422 |
-
},
|
| 423 |
-
"weight": {
|
| 424 |
-
"initial value": "normal",
|
| 425 |
-
"modified value": "bold"
|
| 426 |
-
},
|
| 427 |
-
"fontfamily": {
|
| 428 |
-
"initial value": "sans-serif",
|
| 429 |
-
"modified value": "monospace"
|
| 430 |
-
}
|
| 431 |
-
},
|
| 432 |
-
"chart axes ticks": {
|
| 433 |
-
"size": {
|
| 434 |
-
"initial value": 12,
|
| 435 |
-
"modified value": 8
|
| 436 |
-
},
|
| 437 |
-
"weight": {
|
| 438 |
-
"initial value": "normal",
|
| 439 |
-
"modified value": "normal"
|
| 440 |
-
},
|
| 441 |
-
"fontfamily": {
|
| 442 |
-
"initial value": "sans-serif",
|
| 443 |
-
"modified value": "monospace"
|
| 444 |
-
}
|
| 445 |
-
}
|
| 446 |
-
}
|
| 447 |
-
},
|
| 448 |
-
{
|
| 449 |
-
"imgname": "bar_502",
|
| 450 |
-
"attr_change_type": "legend",
|
| 451 |
-
"attr_change_json": {
|
| 452 |
-
"position": {
|
| 453 |
-
"initial value": "upper right",
|
| 454 |
-
"modified value": "center left"
|
| 455 |
-
}
|
| 456 |
-
}
|
| 457 |
-
},
|
| 458 |
-
{
|
| 459 |
-
"imgname": "bar_254",
|
| 460 |
-
"attr_change_type": "color",
|
| 461 |
-
"attr_change_json": {
|
| 462 |
-
"Inventions": {
|
| 463 |
-
"initial value": "#D0E8CF",
|
| 464 |
-
"modified value": "#05e0d7"
|
| 465 |
-
},
|
| 466 |
-
"Research papers": {
|
| 467 |
-
"initial value": "#08BDBD",
|
| 468 |
-
"modified value": "#08BDBD"
|
| 469 |
-
}
|
| 470 |
-
}
|
| 471 |
-
},
|
| 472 |
-
{
|
| 473 |
-
"imgname": "bar_254",
|
| 474 |
-
"attr_change_type": "text_style",
|
| 475 |
-
"attr_change_json": {
|
| 476 |
-
"chart title": {
|
| 477 |
-
"size": {
|
| 478 |
-
"initial value": 14,
|
| 479 |
-
"modified value": 8
|
| 480 |
-
},
|
| 481 |
-
"weight": {
|
| 482 |
-
"initial value": "normal",
|
| 483 |
-
"modified value": "bold"
|
| 484 |
-
},
|
| 485 |
-
"fontfamily": {
|
| 486 |
-
"initial value": "sans-serif",
|
| 487 |
-
"modified value": "monospace"
|
| 488 |
-
}
|
| 489 |
-
},
|
| 490 |
-
"chart legend": {
|
| 491 |
-
"size": {
|
| 492 |
-
"initial value": 12,
|
| 493 |
-
"modified value": 14
|
| 494 |
-
},
|
| 495 |
-
"weight": {
|
| 496 |
-
"initial value": "normal",
|
| 497 |
-
"modified value": "normal"
|
| 498 |
-
},
|
| 499 |
-
"fontfamily": {
|
| 500 |
-
"initial value": "sans-serif",
|
| 501 |
-
"modified value": "monospace"
|
| 502 |
-
}
|
| 503 |
-
},
|
| 504 |
-
"chart axes labels": {
|
| 505 |
-
"size": {
|
| 506 |
-
"initial value": 12,
|
| 507 |
-
"modified value": 14
|
| 508 |
-
},
|
| 509 |
-
"weight": {
|
| 510 |
-
"initial value": "normal",
|
| 511 |
-
"modified value": "light"
|
| 512 |
-
},
|
| 513 |
-
"fontfamily": {
|
| 514 |
-
"initial value": "sans-serif",
|
| 515 |
-
"modified value": "monospace"
|
| 516 |
-
}
|
| 517 |
-
},
|
| 518 |
-
"chart axes ticks": {
|
| 519 |
-
"size": {
|
| 520 |
-
"initial value": 12,
|
| 521 |
-
"modified value": 22
|
| 522 |
-
},
|
| 523 |
-
"weight": {
|
| 524 |
-
"initial value": "normal",
|
| 525 |
-
"modified value": "normal"
|
| 526 |
-
},
|
| 527 |
-
"fontfamily": {
|
| 528 |
-
"initial value": "sans-serif",
|
| 529 |
-
"modified value": "monospace"
|
| 530 |
-
}
|
| 531 |
-
}
|
| 532 |
-
}
|
| 533 |
-
},
|
| 534 |
-
{
|
| 535 |
-
"imgname": "bar_254",
|
| 536 |
-
"attr_change_type": "legend",
|
| 537 |
-
"attr_change_json": {
|
| 538 |
-
"position": {
|
| 539 |
-
"initial value": "upper left",
|
| 540 |
-
"modified value": "lower left"
|
| 541 |
-
}
|
| 542 |
-
}
|
| 543 |
-
}
|
| 544 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ChartAlignbench_dataset/attr_edit/color_altered/bar_19.png
DELETED
|
Binary file (31.8 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/color_altered/bar_227.png
DELETED
|
Binary file (31.5 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/color_altered/bar_254.png
DELETED
|
Binary file (26.3 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/color_altered/bar_258.png
DELETED
|
Binary file (47.9 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/color_altered/bar_279.png
DELETED
|
Binary file (34.1 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/color_altered/bar_380.png
DELETED
|
Binary file (23.6 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/color_altered/bar_430.png
DELETED
|
Binary file (37.7 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/color_altered/bar_502.png
DELETED
|
Binary file (29.5 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/color_altered/bar_83.png
DELETED
|
Binary file (60 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/color_altered/bar_87.png
DELETED
|
Binary file (27.2 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/legend_altered/bar_138.png
DELETED
|
Binary file (29.5 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/legend_altered/bar_143.png
DELETED
|
Binary file (26.7 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/legend_altered/bar_185.png
DELETED
|
Binary file (46.7 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/legend_altered/bar_254.png
DELETED
|
Binary file (27 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/legend_altered/bar_395.png
DELETED
|
Binary file (22.5 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/legend_altered/bar_502.png
DELETED
|
Binary file (29.6 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/legend_altered/bar_85.png
DELETED
|
Binary file (28 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/legend_altered/bar_96.png
DELETED
|
Binary file (34.1 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/text_style_altered/bar_143.png
DELETED
|
Binary file (30 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/text_style_altered/bar_254.png
DELETED
|
Binary file (28.6 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/text_style_altered/bar_502.png
DELETED
|
Binary file (27.8 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/text_style_altered/bar_85.png
DELETED
|
Binary file (36.1 kB)
|
|
|
ChartAlignbench_dataset/attr_edit/text_style_altered/bar_96.png
DELETED
|
Binary file (58.1 kB)
|
|
|
ChartAlignbench_dataset/cell_edit/1_cell_edit/bar_159.png
DELETED
|
Binary file (34.1 kB)
|
|
|
ChartAlignbench_dataset/cell_edit/1_cell_edit/bar_279.png
DELETED
|
Binary file (34.2 kB)
|
|
|
ChartAlignbench_dataset/cell_edit/1_cell_edit/bar_395.png
DELETED
|
Binary file (22.5 kB)
|
|
|
ChartAlignbench_dataset/cell_edit/1_cell_edit/bar_87.png
DELETED
|
Binary file (27.6 kB)
|
|
|
ChartAlignbench_dataset/cell_edit/2_cell_edit/bar_159.png
DELETED
|
Binary file (29.9 kB)
|
|
|
ChartAlignbench_dataset/cell_edit/2_cell_edit/bar_87.png
DELETED
|
Binary file (28.5 kB)
|
|
|
ChartAlignbench_dataset/cell_edit/2_cell_edit/bar_96.png
DELETED
|
Binary file (34.7 kB)
|
|
|
ChartAlignbench_dataset/cell_edit/3_cell_edit/bar_159.png
DELETED
|
Binary file (30 kB)
|
|
|
ChartAlignbench_dataset/cell_edit/3_cell_edit/bar_83.png
DELETED
|
Binary file (57.6 kB)
|
|
|
ChartAlignbench_dataset/cell_edit/3_cell_edit/bar_87.png
DELETED
|
Binary file (27.5 kB)
|
|
|
ChartAlignbench_dataset/cell_edit/cell_edit.json
DELETED
|
@@ -1,176 +0,0 @@
|
|
| 1 |
-
[
|
| 2 |
-
{
|
| 3 |
-
"imgname": "bar_87",
|
| 4 |
-
"cell_change_cnt": 1,
|
| 5 |
-
"cell_change_json": {
|
| 6 |
-
"0": {
|
| 7 |
-
"row name": "John",
|
| 8 |
-
"column name": "Benefits(USD)",
|
| 9 |
-
"value in chart 1": 1400,
|
| 10 |
-
"value in chart 2": 625
|
| 11 |
-
}
|
| 12 |
-
}
|
| 13 |
-
},
|
| 14 |
-
{
|
| 15 |
-
"imgname": "bar_395",
|
| 16 |
-
"cell_change_cnt": 1,
|
| 17 |
-
"cell_change_json": {
|
| 18 |
-
"0": {
|
| 19 |
-
"row name": "UK",
|
| 20 |
-
"column name": "Inflation Rate",
|
| 21 |
-
"value in chart 1": 1.6,
|
| 22 |
-
"value in chart 2": 0.825
|
| 23 |
-
}
|
| 24 |
-
}
|
| 25 |
-
},
|
| 26 |
-
{
|
| 27 |
-
"imgname": "bar_159",
|
| 28 |
-
"cell_change_cnt": 1,
|
| 29 |
-
"cell_change_json": {
|
| 30 |
-
"0": {
|
| 31 |
-
"row name": "UK",
|
| 32 |
-
"column name": "Charitable Donations (million)",
|
| 33 |
-
"value in chart 1": 1500,
|
| 34 |
-
"value in chart 2": 787
|
| 35 |
-
}
|
| 36 |
-
}
|
| 37 |
-
},
|
| 38 |
-
{
|
| 39 |
-
"imgname": "bar_279",
|
| 40 |
-
"cell_change_cnt": 1,
|
| 41 |
-
"cell_change_json": {
|
| 42 |
-
"0": {
|
| 43 |
-
"row name": "France",
|
| 44 |
-
"column name": "Hotels",
|
| 45 |
-
"value in chart 1": 1100,
|
| 46 |
-
"value in chart 2": 475
|
| 47 |
-
}
|
| 48 |
-
}
|
| 49 |
-
},
|
| 50 |
-
{
|
| 51 |
-
"imgname": "bar_87",
|
| 52 |
-
"cell_change_cnt": 2,
|
| 53 |
-
"cell_change_json": {
|
| 54 |
-
"0": {
|
| 55 |
-
"row name": "Sarah",
|
| 56 |
-
"column name": "Benefits(USD)",
|
| 57 |
-
"value in chart 1": 1300,
|
| 58 |
-
"value in chart 2": 625
|
| 59 |
-
},
|
| 60 |
-
"1": {
|
| 61 |
-
"row name": "Sarah",
|
| 62 |
-
"column name": "Salary(USD)",
|
| 63 |
-
"value in chart 1": 4500,
|
| 64 |
-
"value in chart 2": 6862
|
| 65 |
-
}
|
| 66 |
-
}
|
| 67 |
-
},
|
| 68 |
-
{
|
| 69 |
-
"imgname": "bar_159",
|
| 70 |
-
"cell_change_cnt": 2,
|
| 71 |
-
"cell_change_json": {
|
| 72 |
-
"0": {
|
| 73 |
-
"row name": "USA",
|
| 74 |
-
"column name": "Nonprofit Organizations",
|
| 75 |
-
"value in chart 1": 550,
|
| 76 |
-
"value in chart 2": 218
|
| 77 |
-
},
|
| 78 |
-
"1": {
|
| 79 |
-
"row name": "France",
|
| 80 |
-
"column name": "Charitable Donations (million)",
|
| 81 |
-
"value in chart 1": 1800,
|
| 82 |
-
"value in chart 2": 2362
|
| 83 |
-
}
|
| 84 |
-
}
|
| 85 |
-
},
|
| 86 |
-
{
|
| 87 |
-
"imgname": "bar_96",
|
| 88 |
-
"cell_change_cnt": 2,
|
| 89 |
-
"cell_change_json": {
|
| 90 |
-
"0": {
|
| 91 |
-
"row name": "North America",
|
| 92 |
-
"column name": "Renewable Energy Usage(%)",
|
| 93 |
-
"value in chart 1": 25,
|
| 94 |
-
"value in chart 2": 13
|
| 95 |
-
},
|
| 96 |
-
"1": {
|
| 97 |
-
"row name": "Europe",
|
| 98 |
-
"column name": "Renewable Energy Usage(%)",
|
| 99 |
-
"value in chart 1": 35,
|
| 100 |
-
"value in chart 2": 41
|
| 101 |
-
}
|
| 102 |
-
}
|
| 103 |
-
},
|
| 104 |
-
{
|
| 105 |
-
"imgname": "bar_87",
|
| 106 |
-
"cell_change_cnt": 3,
|
| 107 |
-
"cell_change_json": {
|
| 108 |
-
"0": {
|
| 109 |
-
"row name": "David",
|
| 110 |
-
"column name": "Salary(USD)",
|
| 111 |
-
"value in chart 1": 4600,
|
| 112 |
-
"value in chart 2": 2287
|
| 113 |
-
},
|
| 114 |
-
"1": {
|
| 115 |
-
"row name": "Sarah",
|
| 116 |
-
"column name": "Benefits(USD)",
|
| 117 |
-
"value in chart 1": 1300,
|
| 118 |
-
"value in chart 2": 1875
|
| 119 |
-
},
|
| 120 |
-
"2": {
|
| 121 |
-
"row name": "Jane",
|
| 122 |
-
"column name": "Salary(USD)",
|
| 123 |
-
"value in chart 1": 4200,
|
| 124 |
-
"value in chart 2": 1372
|
| 125 |
-
}
|
| 126 |
-
}
|
| 127 |
-
},
|
| 128 |
-
{
|
| 129 |
-
"imgname": "bar_159",
|
| 130 |
-
"cell_change_cnt": 3,
|
| 131 |
-
"cell_change_json": {
|
| 132 |
-
"0": {
|
| 133 |
-
"row name": "France",
|
| 134 |
-
"column name": "Nonprofit Organizations",
|
| 135 |
-
"value in chart 1": 400,
|
| 136 |
-
"value in chart 2": 218
|
| 137 |
-
},
|
| 138 |
-
"1": {
|
| 139 |
-
"row name": "UK",
|
| 140 |
-
"column name": "Charitable Donations (million)",
|
| 141 |
-
"value in chart 1": 1500,
|
| 142 |
-
"value in chart 2": 2362
|
| 143 |
-
},
|
| 144 |
-
"2": {
|
| 145 |
-
"row name": "USA",
|
| 146 |
-
"column name": "Nonprofit Organizations",
|
| 147 |
-
"value in chart 1": 550,
|
| 148 |
-
"value in chart 2": 131
|
| 149 |
-
}
|
| 150 |
-
}
|
| 151 |
-
},
|
| 152 |
-
{
|
| 153 |
-
"imgname": "bar_83",
|
| 154 |
-
"cell_change_cnt": 3,
|
| 155 |
-
"cell_change_json": {
|
| 156 |
-
"0": {
|
| 157 |
-
"row name": "USA",
|
| 158 |
-
"column name": "Production Cost(million)",
|
| 159 |
-
"value in chart 1": 6000,
|
| 160 |
-
"value in chart 2": 3125
|
| 161 |
-
},
|
| 162 |
-
"1": {
|
| 163 |
-
"row name": "UK",
|
| 164 |
-
"column name": "Production Cost(million)",
|
| 165 |
-
"value in chart 1": 5500,
|
| 166 |
-
"value in chart 2": 9375
|
| 167 |
-
},
|
| 168 |
-
"2": {
|
| 169 |
-
"row name": "France",
|
| 170 |
-
"column name": "Manufacturing Output(million)",
|
| 171 |
-
"value in chart 1": 10000,
|
| 172 |
-
"value in chart 2": 2550
|
| 173 |
-
}
|
| 174 |
-
}
|
| 175 |
-
}
|
| 176 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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bench_dataset/dataset.py
DELETED
|
@@ -1,85 +0,0 @@
|
|
| 1 |
-
import os
|
| 2 |
-
import json
|
| 3 |
-
from PIL import Image
|
| 4 |
-
import datasets
|
| 5 |
-
|
| 6 |
-
_CITATION = ""
|
| 7 |
-
_DESCRIPTION = "ChartAlignBench: Visual chart alignment benchmark with cell-level and attribute-level edits."
|
| 8 |
-
|
| 9 |
-
class ChartAlignBenchConfig(datasets.BuilderConfig):
|
| 10 |
-
def __init__(self, data_dir, **kwargs):
|
| 11 |
-
super().__init__(**kwargs)
|
| 12 |
-
self.data_dir = data_dir
|
| 13 |
-
|
| 14 |
-
class ChartAlignBench(datasets.GeneratorBasedBuilder):
|
| 15 |
-
BUILDER_CONFIGS = [
|
| 16 |
-
ChartAlignBenchConfig(
|
| 17 |
-
name="cell_edit",
|
| 18 |
-
version=datasets.Version("1.0.0"),
|
| 19 |
-
description="Cell edit subset",
|
| 20 |
-
data_dir="cell_edit"
|
| 21 |
-
),
|
| 22 |
-
ChartAlignBenchConfig(
|
| 23 |
-
name="attr_edit",
|
| 24 |
-
version=datasets.Version("1.0.0"),
|
| 25 |
-
description="Attribute edit subset",
|
| 26 |
-
data_dir="attr_edit"
|
| 27 |
-
)
|
| 28 |
-
]
|
| 29 |
-
|
| 30 |
-
def _info(self):
|
| 31 |
-
# Define features per config
|
| 32 |
-
if self.config.name == "cell_edit":
|
| 33 |
-
features = datasets.Features({
|
| 34 |
-
"imgname": datasets.Value("string"),
|
| 35 |
-
"cell_change_cnt": datasets.Value("int32"),
|
| 36 |
-
"cell_change_json": datasets.Value("string"),
|
| 37 |
-
"image": datasets.Image()
|
| 38 |
-
})
|
| 39 |
-
elif self.config.name == "attr_edit":
|
| 40 |
-
features = datasets.Features({
|
| 41 |
-
"imgname": datasets.Value("string"),
|
| 42 |
-
"attr_change_type": datasets.Value("string"),
|
| 43 |
-
"attr_change_json": datasets.Value("string"),
|
| 44 |
-
"image": datasets.Image()
|
| 45 |
-
})
|
| 46 |
-
return datasets.DatasetInfo(
|
| 47 |
-
description=_DESCRIPTION,
|
| 48 |
-
features=features,
|
| 49 |
-
citation=_CITATION,
|
| 50 |
-
)
|
| 51 |
-
|
| 52 |
-
def _split_generators(self, dl_manager):
|
| 53 |
-
data_dir = os.path.join(self.config.data_dir)
|
| 54 |
-
if self.config.name == "cell_edit":
|
| 55 |
-
json_path = os.path.join(data_dir, "cell_edit.json")
|
| 56 |
-
else:
|
| 57 |
-
json_path = os.path.join(data_dir, "attribute_edit_info.json")
|
| 58 |
-
return [
|
| 59 |
-
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"data_dir": data_dir, "json_path": json_path}),
|
| 60 |
-
]
|
| 61 |
-
|
| 62 |
-
def _generate_examples(self, data_dir, json_path):
|
| 63 |
-
with open(json_path, "r") as f:
|
| 64 |
-
data = json.load(f)
|
| 65 |
-
|
| 66 |
-
for idx, item in enumerate(data):
|
| 67 |
-
imgname = item["imgname"]
|
| 68 |
-
if self.config.name == "cell_edit":
|
| 69 |
-
cnt = item["cell_change_cnt"]
|
| 70 |
-
image_path = os.path.join(data_dir, f"{cnt}_cell_edit", imgname + ".png")
|
| 71 |
-
yield idx, {
|
| 72 |
-
"imgname": imgname,
|
| 73 |
-
"cell_change_cnt": cnt,
|
| 74 |
-
"cell_change_json": json.dumps(item["cell_change_json"]),
|
| 75 |
-
"image": image_path
|
| 76 |
-
}
|
| 77 |
-
else:
|
| 78 |
-
attr_type = item["attr_change_type"]
|
| 79 |
-
image_path = os.path.join(data_dir, f"{attr_type}_altered", imgname + ".png")
|
| 80 |
-
yield idx, {
|
| 81 |
-
"imgname": imgname,
|
| 82 |
-
"attr_change_type": attr_type,
|
| 83 |
-
"attr_change_json": json.dumps(item["attr_change_json"]),
|
| 84 |
-
"image": image_path
|
| 85 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|