truevislies commited on
Commit
300d73e
·
verified ·
1 Parent(s): 3f76fe7

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +160 -0
README.md ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ task_categories:
4
+ - image-classification
5
+ language:
6
+ - en
7
+ tags:
8
+ - visualization
9
+ - misinformation
10
+ - misleading-visualizations
11
+ - COVID-19
12
+ pretty_name: TrueVisLies – COVID-19 Twitter Visualization Dataset
13
+ size_categories:
14
+ - 1K-10K
15
+ ---
16
+
17
+ # TrueVisLies Twitter Dataset
18
+
19
+ This dataset is used in the paper:
20
+ > **True (VIS) Lies: Analyzing How Generative AI Recognizes Intentionality, Rhetoric, and Misleadingness in Visualization Lies**
21
+
22
+ It is a subset of the dataset collected in:
23
+ > Maxim Lisnic, Cole Polychronis, Alexander Lex, and Marina Kogan. 2023. Misleading Beyond Visual Tricks: How People Actually Lie with Charts. In Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems (CHI '23). Association for Computing Machinery, New York, NY, USA, Article 817, 1–21. https://doi.org/10.1145/3544548.3580910
24
+
25
+ ## Dataset Overview
26
+
27
+ This dataset contains Twitter (now X) posts sharing data visualizations related to COVID-19, collected between January 2020 and August 2021. Each entry pairs an image of a chart or graph with metadata about the tweet and expert annotations indicating whether the visualization is misleading and, if so, what type of error it contains.
28
+
29
+ The dataset is intended for research on misleading visualization detection.
30
+
31
+ **Image rights:** Images are shared for research purposes only. All original rights belong to X (Twitter) and the respective content authors.
32
+
33
+ Errors in visualizations have been identified by Lisnic et al. (2023) https://doi.org/10.1145/3544548.3580910
34
+
35
+ ---
36
+
37
+ ## Dataset Structure
38
+
39
+ The dataset consists of the following files:
40
+
41
+ - **`index.csv`** — The main annotation index. Each row corresponds to one image and contains the `image_id`, the associated `tweet_id`, a binary `is_misleading` label, and 14 binary columns indicating which specific error types (if any) are present.
42
+ - **`metadata.json`** — A JSON dictionary keyed by `tweet_id` (equivalent to `image_id`). Each entry includes the tweet author, publication date, tweet text, tweet URL, original image URL, image dimensions, and a structured `errors` field that subdivides annotations into `visualization_design_violations` and `reasoning_errors`.
43
+ - **`images/`** — A folder containing all images in PNG format. Each file is named `{image_id}.png`, where `image_id` matches the corresponding entry in `index.csv` and `metadata.json`.
44
+
45
+ ---
46
+
47
+ ## Statistics
48
+
49
+ | Property | Value |
50
+ |---|---|
51
+ | Total samples | 2,336 |
52
+ | Misleading | 1,168 (50%) |
53
+ | Not misleading | 1,168 (50%) |
54
+ | Image format | PNG |
55
+
56
+ ### Error Type Distribution
57
+
58
+ The table below reports the number of misleading images annotated with each error type. Note that a single image can be annotated with more than one error.
59
+
60
+ | Error Type | Count |
61
+ |---|---|
62
+ | Causal inference | 356 |
63
+ | Cherry-picking | 300 |
64
+ | Value as area/volume | 253 |
65
+ | Setting an arbitrary threshold | 243 |
66
+ | Dual axis | 224 |
67
+ | Issues with data validity | 67 |
68
+ | Failure to account for statistical nuance | 61 |
69
+ | Truncated axis | 54 |
70
+ | Inverted axis | 35 |
71
+ | Unclear encoding | 19 |
72
+ | Misrepresentation of scientific studies | 18 |
73
+ | Inappropriate encoding | 11 |
74
+ | Uneven binning | 3 |
75
+ | Incorrect reading of chart | 4 |
76
+
77
+ ---
78
+
79
+ ## Fields Reference
80
+
81
+ ### `index.csv`
82
+
83
+ | Column | Type | Description |
84
+ |---|---|---|
85
+ | `image_id` | int64 | Unique image identifier (matches filename in `images/` and key in `metadata.json`) |
86
+ | `tweet_id` | int64 | Twitter post identifier (matches key in `metadata.json`) |
87
+ | `is_misleading` | int (0/1) | Whether the visualization is annotated as misleading |
88
+ | `error[*]` | int (0/1) | One column per error type; 1 if the error is present |
89
+
90
+ #### Column Descriptions
91
+ - `image_id` unique identifier for the image (matches filename in `images/` and key in `metadata.json`)
92
+ - `tweet_id` id of the tweet associated with the image (same as `image_id`)
93
+ - `is_misleading` int (0/1) | Whether the visualization is annotated as misleading
94
+ - `error[Truncated axis]` boolean, indicating whether the tweet contains a misleading visualization with this error.
95
+ - `error[Dual axis]` boolean, indicating whether the tweet contains a misleading visualization with this error.
96
+ - `error[Value as area/volume]` boolean, indicating whether the tweet contains a misleading visualization with this error.
97
+ - `error[Inverted axis]` boolean, indicating whether the tweet contains a misleading visualization with this error.
98
+ - `error[Uneven binning]` boolean, indicating whether the tweet contains a misleading visualization with this error.
99
+ - `error[Unclear encoding]` boolean, indicating whether the tweet contains a misleading visualization with this error.
100
+ - `error[Inappropriate encoding]` boolean, indicating whether the tweet contains a misleading visualization with this error.
101
+ - `error[Cherry-picking]` boolean, indicating whether the tweet contains a misleading visualization with this error.
102
+ - `error[Setting an arbitrary threshold]` boolean, indicating whether the tweet contains a misleading visualization with this error.
103
+ - `error[Causal inference]` boolean, indicating whether the tweet contains a misleading visualization with this error.
104
+ - `error[Issues with data validity]` boolean, indicating whether the tweet contains a misleading visualization with this error.
105
+ - `error[Failure to account for statistical nuance]` boolean, indicating whether the tweet contains a misleading visualization with this error.
106
+ - `error[Misrepresentation of scientific studies]` boolean, indicating whether the tweet contains a misleading visualization with this error.
107
+ - `error[Incorrect reading of chart]` boolean, indicating whether the tweet contains a misleading visualization with this error.
108
+
109
+
110
+ ### `metadata.json`
111
+
112
+ The file is a JSON dictionary keyed by `tweet_id` (equivalent to `image_id`). Each entry contains the following fields:
113
+
114
+ | Field | Type | Description |
115
+ |---|---|---|
116
+ | `tweet_id` | string | Twitter post identifier |
117
+ | `is_misleading` | bool | Whether the visualization is misleading |
118
+ | `author` | string | Display name of the tweet author |
119
+ | `date` | string (ISO 8601) | Publication timestamp |
120
+ | `text` | string | Full text of the tweet |
121
+ | `tweet_url` | string | Permalink to the original tweet on X |
122
+ | `image_url` | string | URL of the original image as hosted by Twitter |
123
+ | `image_width` | int | Image width in pixels |
124
+ | `image_height` | int | Image height in pixels |
125
+ | `errors.visualization_design_violations` | list of strings | Design-level errors present in the visualization |
126
+ | `errors.reasoning_errors` | list of strings | Reasoning-level errors present in the visualization |
127
+ | `image_id` | string | Image identifier (matches `image_id` in `index.csv`) |
128
+
129
+ ---
130
+
131
+ ## Usage
132
+
133
+ ```python
134
+ import pandas as pd
135
+ import json
136
+ from PIL import Image
137
+
138
+ # Load annotations
139
+ index = pd.read_csv("index.csv")
140
+
141
+ # Load metadata
142
+ with open("metadata.json") as f:
143
+ metadata = json.load(f)
144
+
145
+ # Load an image
146
+ image_id = index.iloc[0]["image_id"]
147
+ img = Image.open(f"images/{image_id}.png")
148
+ ```
149
+
150
+ ---
151
+
152
+ ## License and Rights
153
+
154
+ Images shared in this dataset are made available **for research purposes only**. All original rights to the images belong to **X (Twitter)** and the respective tweet authors.
155
+
156
+ ---
157
+
158
+ ## Citation
159
+
160
+ If you use this dataset in your research, please cite the associated paper.