Dataset Viewer
Auto-converted to Parquet Duplicate
pid
stringlengths
13
13
answer
stringclasses
4 values
solution
stringclasses
4 values
subject
stringclasses
1 value
task
stringclasses
2 values
category
stringclasses
1 value
source
stringclasses
1 value
type
stringclasses
1 value
context
stringclasses
1 value
interactive
stringclasses
2 values
image_1
imagewidth (px)
267
2.19k
image_2
imagewidth (px)
267
2.19k
⌀
image_3
imagewidth (px)
267
2.19k
⌀
image_4
imagewidth (px)
267
2.19k
⌀
question
stringlengths
205
7.35k
options
listlengths
4
4
visbench_0001
B
B
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame( id = 1:6, val = c(2, 5, 3, 6, ...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0002
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2) \ndf <- data.frame( id = 1:6, val = c(2, 5, 3, 6, 4, 7), w = c(1, 1, 1, 1, 1, 1) ) \nggplot(df, aes(x = id, y = val)) + geom_text(label = \"●\", size = 10, color = \"blue\") + theme_minimal()", "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(g...
visbench_0003
A
A
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame( id = 1:6, val = c(2, 5, 3, 6, ...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0004
C
C
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2) \ndf <- data.frame( id = 1:6, val = c(2, 5, 3, 6, 4, 7), w = c(1, 1, 1, 1, 1, 1) ) \nggplot(df, aes(x = id, y = val)) + geom_text(label = \"○\", size = 10, color = \"blue\") + theme_minimal()", "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(g...
visbench_0005
D
D
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame( id = 1:6, val = c(2, 5, 3, 6, ...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0006
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2) \ndf <- data.frame( id = 1:6, val = c(2, 5, 3, 6, 4, 7), w = c(1, 1, 1, 1, 1, 1) ) \nggplot(df, aes(x = id, y = val)) + geom_text(label = \"○\", size = 10, color = \"blue\") + theme_minimal()", "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(g...
visbench_0007
D
D
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame( id = 1:6, val = c(2, 5, 3, 6, ...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0008
D
D
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2) \ndf <- data.frame( id = 1:6, val = c(2, 5, 3, 6, 4, 7), w = c(1, 1, 1, 1, 1, 1) ) \nggplot(df, aes(x = id, y = val)) + geom_text(label = \"●\", size = 10, color = \"blue\") + theme_minimal()", "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(g...
visbench_0009
C
C
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame(x = 1, y = 10) base_p <- ggplo...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0010
D
D
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\ndf <- data.frame(x = 1, y = 10)\n\nbase_p <- ggplot(df, aes(x, y)) +\n geom_col(width = 1, fill = \"blue\") +\n theme_void() +\n xlim(0, 8) + \n theme(plot.background = element_rect(fill = \"gray95\"))\n\nbase_p +\n coord_polar(theta = \"x\") +...
visbench_0011
B
B
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame(x = 1, y = 10) base_p <- ggplo...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0012
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\ndf <- data.frame(x = 1, y = 10)\n\nbase_p <- ggplot(df, aes(x, y)) +\n geom_col(width = 1, fill = \"blue\") +\n theme_void() +\n xlim(0, 8) + \n theme(plot.background = element_rect(fill = \"gray95\"))\n\nbase_p +\n coord_polar(theta = \"x\") +...
visbench_0013
A
A
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame(x = 1, y = 10) base_p <- ggp...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0014
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\n\ndf <- data.frame(x = 1, y = 10)\n\n\nbase_p <- ggplot(df, aes(x, y)) +\n geom_col(width = 1, fill = \"blue\") +\n theme_void() +\n xlim(0, 8) + \n theme(plot.background = element_rect(fill = \"gray95\"))\n\nbase_p +\n coord_polar(theta = \"y\...
visbench_0015
A
A
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame(x = 1, y = 10) base_p <- ggp...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0016
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\n\ndf <- data.frame(x = 1, y = 10)\n\n\nbase_p <- ggplot(df, aes(x, y)) +\n geom_col(width = 1, fill = \"blue\") +\n theme_void() +\n xlim(0, 8) + \n theme(plot.background = element_rect(fill = \"gray95\"))\n\nbase_p +\n coord_polar(theta = \"y\...
visbench_0017
D
D
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and dplyr 1.1.4. library(ggplot2) library(dplyr) df <- data.frame...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0018
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and dplyr 1.1.4.\n\nlibrary(ggplot2)\nlibrary(dplyr)\n\ndf <- data.frame(\n x = c(1.0, 1.7, 2.4, 3.1, 3.8, 4.5),\n y = c(3.1, 4.0, 4.8, 4.5, 5.6, 6.1),\n group = rep(c(\"A\", \"B\"), 3)\n)\n\nbase_theme <- theme_minimal(base_size = 11) +\n theme(\n legend.position ...
visbench_0019
C
C
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and dplyr 1.1.4. library(ggplot2) library(dplyr) df <- data.frame...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0020
C
C
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and dplyr 1.1.4.\n\nlibrary(ggplot2)\nlibrary(dplyr)\n\ndf <- data.frame(\n x = c(1.0, 1.7, 2.4, 3.1, 3.8, 4.5),\n y = c(3.1, 4.0, 4.8, 4.5, 5.6, 6.1),\n group = rep(c(\"A\", \"B\"), 3)\n)\n\nbase_theme <- theme_minimal(base_size = 11) +\n theme(\n legend.position ...
visbench_0021
A
A
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and dplyr 1.1.4. library(ggplot2) library(dplyr) df <- data.frame...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0022
B
B
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and dplyr 1.1.4.\n\nlibrary(ggplot2)\nlibrary(dplyr)\n\ndf <- data.frame(\n x = c(1.0, 1.7, 2.4, 3.1, 3.8, 4.5),\n y = c(3.1, 4.0, 4.8, 4.5, 5.6, 6.1),\n group = rep(c(\"A\", \"B\"), 3)\n)\n\nbase_theme <- theme_minimal(base_size = 11) +\n theme(\n legend.position ...
visbench_0023
B
B
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and dplyr 1.1.4. library(ggplot2) library(dplyr) df <- data.frame...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0024
C
C
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and dplyr 1.1.4.\n\nlibrary(ggplot2)\nlibrary(dplyr)\n\ndf <- data.frame(\n x = c(1.0, 1.7, 2.4, 3.1, 3.8, 4.5),\n y = c(3.1, 4.0, 4.8, 4.5, 5.6, 6.1),\n group = rep(c(\"A\", \"B\"), 3)\n)\n\nbase_theme <- theme_minimal(base_size = 11) +\n theme(\n legend.position ...
visbench_0025
C
C
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and Scales 1.3.0 library(ggplot2) library(dplyr) library(scales) ...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0026
B
B
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and Scales 1.3.0\n\nlibrary(ggplot2)\nlibrary(dplyr)\n\nvalues <- c(\n 1, 2, 2,\n 3, 4, 4, 5, 5,\n 6, 6, 7, 7, 7,\n 8, 8, 9, 9, 10, 10, 10\n)\n\ndf <- data.frame(value = values)\n\ndf$group <- cut(\n df$value,\n breaks = c(-Inf, 3, 6, 8, Inf),\n labels = c(\"< 3\",...
visbench_0027
B
B
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and Scales 1.3.0 library(ggplot2) library(dplyr) values <- c( 1...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0028
B
B
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and Scales 1.3.0\n\nlibrary(ggplot2)\nlibrary(dplyr)\nlibrary(scales)\n\nvalues <- c(\n 1, 2, 2,\n 3, 4, 4, 5, 5,\n 6, 6, 7, 7, 7,\n 8, 8, 9, 9, 10, 10, 10\n)\n\ndf <- data.frame(value = values)\n\ndf$group <- cut(\n df$value,\n breaks = c(-Inf, 3, 6, 8, Inf),\n la...
visbench_0029
C
C
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and Scales 1.3.0 library(ggplot2) library(dplyr) values <- c( 1...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0030
D
D
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and Scales 1.3.0\n\nlibrary(ggplot2)\nlibrary(dplyr)\nlibrary(scales)\n\nvalues <- c(\n 1, 2, 2,\n 3, 4, 4, 5, 5,\n 6, 6, 7, 7, 7,\n 8, 8, 9, 9, 10, 10, 10\n)\n\ndf <- data.frame(value = values)\n\ndf$group <- cut(\n df$value,\n breaks = c(-Inf, 3, 6, 8, Inf),\n la...
visbench_0031
B
B
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and Scales 1.3.0 library(ggplot2) library(dplyr) library(scales) ...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0032
C
C
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and Scales 1.3.0\n\nlibrary(ggplot2)\nlibrary(dplyr)\n\nvalues <- c(\n 1, 2, 2,\n 3, 4, 4, 5, 5,\n 6, 6, 7, 7, 7,\n 8, 8, 9, 9, 10, 10, 10\n)\n\ndf <- data.frame(value = values)\n\ndf$group <- cut(\n df$value,\n breaks = c(-Inf, 3, 6, 8, Inf),\n labels = c(\"< 3\",...
visbench_0033
C
C
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame( x = c(1, 2, 3), y = c(0, ...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0034
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\n\ndf <- data.frame(\n x = c(1, 2, 3),\n y = c(0, 4, 0)\n)\n\n\nbase_p <- ggplot(df, aes(x, y)) +\n theme_void() +\n theme(\n plot.background = element_rect(fill = \"gray95\", color = NA),\n panel.background = element_rect(fill = \"gray95\"...
visbench_0035
C
C
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame( x = c(1, 2, 3), y = c(0, 4...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0036
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\ndf <- data.frame(\n x = c(1, 2, 3),\n y = c(0, 4, 0)\n)\n\nbase_p <- ggplot(df, aes(x, y)) +\n theme_void() +\n theme(\n plot.background = element_rect(fill = \"gray95\", color = NA),\n panel.background = element_rect(fill = \"gray95\", co...
visbench_0037
A
A
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame( x = c(1, 2, 3), y = c(0, ...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0038
B
B
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\n\ndf <- data.frame(\n x = c(1, 2, 3),\n y = c(0, 4, 0)\n)\n\n\nbase_p <- ggplot(df, aes(x, y)) +\n theme_void() +\n theme(\n plot.background = element_rect(fill = \"gray95\", color = NA),\n panel.background = element_rect(fill = \"gray95\"...
visbench_0039
C
C
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame( x = c(1, 2, 3), y = c(0, 4...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0040
D
D
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\ndf <- data.frame(\n x = c(1, 2, 3),\n y = c(0, 4, 0)\n)\n\nbase_p <- ggplot(df, aes(x, y)) +\n theme_void() +\n theme(\n plot.background = element_rect(fill = \"gray95\", color = NA),\n panel.background = element_rect(fill = \"gray95\", co...
visbench_0041
C
C
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and tidyr 1.3.1. library(ggplot2) library(tidyr) set.seed(33) p_d...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0042
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and tidyr 1.3.1.\n\nlibrary(ggplot2)\nlibrary(tidyr)\n\nset.seed(33)\np_dim <- 5\nrho <- 0.55\nSigma <- matrix(rho, p_dim, p_dim)\ndiag(Sigma) <- 1\nX <- matrix(rnorm(200 * p_dim), ncol = p_dim) %*% chol(Sigma)\ncols <- paste0(\"m\", seq_len(p_dim))\ndf <- as.data.frame(X...
visbench_0043
B
B
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and tidyr 1.3.1. library(ggplot2) library(tidyr) set.seed(33) p_d...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0044
C
C
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and tidyr 1.3.1.\n\nlibrary(ggplot2)\nlibrary(tidyr)\n\nset.seed(33)\np_dim <- 5\nrho <- 0.55\nSigma <- matrix(rho, p_dim, p_dim)\ndiag(Sigma) <- 1\nX <- matrix(rnorm(200 * p_dim), ncol = p_dim) %*% chol(Sigma)\ncols <- paste0(\"m\", seq_len(p_dim))\ndf <- as.data.frame(X...
visbench_0045
C
C
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and tidyr 1.3.1. library(ggplot2) library(tidyr) set.seed(33) p_d...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0046
D
D
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and tidyr 1.3.1.\n\nlibrary(ggplot2)\nlibrary(tidyr)\n\nset.seed(33)\np_dim <- 5\nrho <- 0.55\nSigma <- matrix(rho, p_dim, p_dim)\ndiag(Sigma) <- 1\nX <- matrix(rnorm(200 * p_dim), ncol = p_dim) %*% chol(Sigma)\ncols <- paste0(\"m\", seq_len(p_dim))\ndf <- as.data.frame(X...
visbench_0047
A
A
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and tidyr 1.3.1. library(ggplot2) library(tidyr) set.seed(33) p_d...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0048
D
D
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and tidyr 1.3.1.\n\nlibrary(ggplot2)\nlibrary(tidyr)\n\nset.seed(33)\np_dim <- 5\nrho <- 0.55\nSigma <- matrix(rho, p_dim, p_dim)\ndiag(Sigma) <- 1\nX <- matrix(rnorm(200 * p_dim), ncol = p_dim) %*% chol(Sigma)\ncols <- paste0(\"m\", seq_len(p_dim))\ndf <- as.data.frame(X...
visbench_0049
C
C
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) set.seed(2) data <- rbind( data.frame(type = "...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0050
D
D
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\nset.seed(2)\ndata <- rbind(\n data.frame(type = \"a\", lr = rnorm(100)),\n data.frame(type = \"b\", lr = rnorm(100, .5, 1.2))\n)\nm <- ggplot(data, aes(x=lr)) \nm <- m + geom_density(aes(color=factor(type)), fill=NA, size=2) \nm + scale_color_manual...
visbench_0051
B
B
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) set.seed(2) data <- rbind( data.frame(type = "...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0052
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\nset.seed(2)\ndata <- rbind(\n data.frame(type = \"a\", lr = rnorm(100)),\n data.frame(type = \"b\", lr = rnorm(100, .5, 1.2))\n)\nm <- ggplot(data, aes(x=lr)) \nm <- m + geom_density(aes(fill=factor(type)), size=2, alpha=.4) \n\nm + scale_colour_m...
visbench_0053
D
D
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) set.seed(2) data <- rbind( data.frame(type = "...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0054
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\nset.seed(2)\ndata <- rbind(\n data.frame(type = \"a\", lr = rnorm(100)),\n data.frame(type = \"b\", lr = rnorm(100, .5, 1.2))\n)\n\nm <- ggplot(data, aes(x = lr, fill = factor(type), colour = factor(type))) +\n geom_density(size = 2, alpha = .4) ...
visbench_0055
B
B
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) set.seed(2) data <- rbind( data.frame(type = "a...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0056
D
D
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\nset.seed(2)\ndata <- rbind(\n data.frame(type = \"a\", lr = rnorm(100)),\n data.frame(type = \"b\", lr = rnorm(100, .5, 1.2))\n)\n\nm <- ggplot(data, aes(x = lr)) +\n geom_density(aes(fill = factor(type)), size = 2, alpha = .4) +\n scale_fill_ma...
visbench_0057
B
B
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame( id = 1:12, val = c(12, 18,...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0058
D
D
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\ndf <- data.frame(\n id = 1:12,\n val = c(12, 18, 14, 22, 16, 25, 19, 13, 21, 15, 24, 17)\n)\n\nggplot(df, aes(x = id, y = val)) +\n geom_tile(width = 0.9, height = 0.2, fill = \"grey\") + \n scale_x_continuous(breaks = 1:12) +\n scale_y_continu...
visbench_0059
B
B
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame( id = 1:12, val = c(12, 18,...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0060
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\ndf <- data.frame(\n id = 1:12,\n val = c(12, 18, 14, 22, 16, 25, 19, 13, 21, 15, 24, 17)\n)\n\nggplot(df, aes(x = id, y = val)) +\n geom_tile(width = 0.1, height = 5, fill = \"black\") + \n scale_x_continuous(breaks = 1:12) +\n scale_y_continuo...
visbench_0061
A
A
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame( id = 1:12, val = c(12, 18,...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0062
D
D
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\ndf <- data.frame(\n id = 1:12,\n val = c(12, 18, 14, 22, 16, 25, 19, 13, 21, 15, 24, 17)\n)\n\nggplot(df, aes(x = id, y = val)) +\n geom_tile(width = 0.2, height = 0.2, fill = \"black\") + \n scale_x_continuous(breaks = 1:12) +\n scale_y_contin...
visbench_0063
D
D
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 library(ggplot2) df <- data.frame( id = 1:12, val = c(12, 18,...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0064
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1\n\nlibrary(ggplot2)\n\ndf <- data.frame(\n id = 1:12,\n val = c(12, 18, 14, 22, 16, 25, 19, 13, 21, 15, 24, 17)\n)\n\nggplot(df, aes(x = id, y = val)) +\n geom_tile(width = 1, height = 10, fill = \"black\") + \n scale_x_continuous(breaks = 1:12) +\n scale_y_continuou...
visbench_0065
A
A
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and drplr 1.1.4 library(ggplot2) library(dplyr) df <- expand.grid...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0066
D
D
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and drplr 1.1.4\n\nlibrary(ggplot2)\nlibrary(dplyr)\n\ndf <- expand.grid(\n name = c(\"D01\", \"D02\", \"D03\", \"D04\"),\n component = c(\"F\", \"W\", \"M\", \"V\"),\n KEEP.OUT.ATTRS = FALSE,\n stringsAsFactors = FALSE\n) %>%\n arrange(name, component) %>%\n mutate...
visbench_0067
B
B
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and drplr 1.1.4 library(ggplot2) library(dplyr) df <- expand.grid...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
visbench_0068
A
A
Visualization
viz_choose_code
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
Not supported with pagination yet
Not supported with pagination yet
Not supported with pagination yet
<image_1> You are given one rendered chart image and 4 anonymized candidate code/specification options. Question: Which code snippet or textual specification below can possibly create the chart in the image?
[ "We're using R version 4.4.2, ggplot2 3.5.1 and drplr 1.1.4\n\nlibrary(ggplot2)\nlibrary(dplyr)\n\ndf <- expand.grid(\n name = c(\"D01\", \"D02\", \"D03\", \"D04\"),\n component = c(\"F\", \"W\", \"M\", \"V\"),\n KEEP.OUT.ATTRS = FALSE,\n stringsAsFactors = FALSE\n) %>%\n arrange(name, component) %>%\n mutate...
visbench_0069
B
B
Visualization
code_choose_viz
Coding
github:Han-808/Visualization-Benchmarking@daf85b0
multiple-choice
static
You are given one code snippet or textual visualization specification and 4 anonymized candidate visualizations. Question: Which visualization can this code or specification possibly generate? Specification: We're using R version 4.4.2, ggplot2 3.5.1 and drplr 1.1.4 library(ggplot2) library(dplyr) df <- expand.grid...
[ "<image_1>", "<image_2>", "<image_3>", "<image_4>" ]
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
8