Datasets:
slice stringclasses 2
values | messages listlengths 2 12 | trajectory dict | out_tags dict |
|---|---|---|---|
web | [
{
"role": "user",
"content": "Review this traffic export for my September piece — need a chart for the morning meeting deck. Pasted the full GA export (Sept 2-29) — 29 rows with the duplicate still in there — and the quick pie I threw together. Tell me if this is publishable and what you'd fix:\n\n| date | ... | {
"id": "t-000001",
"example_type": "judge",
"clarity": "workable",
"phrasing": "command",
"role": "reporter",
"behaviours": [
8,
6
],
"triggers": [
{
"behaviour": 6,
"cause": "the user asks for a chart form that will not work at this cardinality, and a defensible repaired versio... | {
"supervises": "final",
"chart_type": "line",
"library_used": "matplotlib",
"topic": "website traffic",
"think_blocks": [
"understand_data",
"find_data",
"understand_request",
"clean_reshape",
"chart_choice",
"chart_spec",
"language",
"read_chart",
"verify"
],
"flaw_sh... |
web | [
{
"role": "user",
"content": "61-word sEEG decoding dump — 34 rows from this run incl 2 exact dupes from export — claim floating around that single word dominates accuracy, need sanity check for lab slide\n\n| word_id | pinyin | n_trials | accuracy | ce | sampling_rate |\n|---|---|---|---|---|---|\n| 1 | ba... | {
"id": "t-000002",
"example_type": "answer_only",
"clarity": "stuck",
"phrasing": "fragment",
"role": "academic",
"behaviours": [
7
],
"triggers": [
{
"behaviour": 7,
"cause": "the user asks whether a claim they heard is true of this data, which requires computing, not looking; the ... | {
"supervises": "ask",
"chart_type": null,
"library_used": null,
"topic": "speech decoding accuracy",
"think_blocks": [
"understand_data",
"find_data",
"understand_request",
"verify"
],
"flaw_shown": null,
"data_source": "invented",
"table_shape": {
"columns": 6,
"rows": 34
}... |
web | [
{
"role": "user",
"content": "61-word sEEG decoding dump — 34 rows from this run incl 2 exact dupes from export — claim floating around that single word dominates accuracy, need sanity check for lab slide\n\n| word_id | pinyin | n_trials | accuracy | ce | sampling_rate |\n|---|---|---|---|---|---|\n| 1 | ba... | {
"id": "t-000002",
"example_type": "answer_only",
"clarity": "stuck",
"phrasing": "fragment",
"role": "academic",
"behaviours": [
7
],
"triggers": [
{
"behaviour": 7,
"cause": "the user asks whether a claim they heard is true of this data, which requires computing, not looking; the ... | {
"supervises": "resolution",
"chart_type": "bar",
"library_used": "matplotlib",
"topic": "speech decoding accuracy",
"think_blocks": [
"understand_data",
"find_data",
"understand_request",
"clean_reshape",
"chart_choice",
"chart_spec",
"language",
"verify"
],
"flaw_shown":... |
web | [
{
"role": "user",
"content": "Quick question — can you clean this up and tell me which channel drove the most? Need the chart in matplotlib for the campaign readout deck tomorrow.\n\nI pasted the export below — first sheet is the performance data, second sheet is some run log that got pulled in and shouldn'... | {
"id": "t-000003",
"example_type": "clean_reshape",
"clarity": "clear",
"phrasing": "question",
"role": "marketer",
"behaviours": [
4,
1,
5
],
"triggers": [
{
"behaviour": 1,
"cause": "the request says 'most' with no measure named, and the data offers two candidate measures"... | {
"supervises": "final",
"chart_type": "bar",
"library_used": "matplotlib",
"topic": "campaign performance",
"think_blocks": [
"understand_data",
"find_data",
"understand_request",
"clean_reshape",
"chart_choice",
"chart_spec",
"language",
"verify"
],
"flaw_shown": null,
... |
web | [
{
"role": "user",
"content": "hey! stats 101 poster due Friday — can you help me build a chart? i need to show which clubs are most popular on campus for my slide. the student council sent me this roster export, the popularity is in the table below (i think that's what the numbers mean). can you make it loo... | {
"id": "t-000004",
"example_type": "build",
"clarity": "clear",
"phrasing": "mixed",
"role": "student",
"behaviours": [
2
],
"triggers": [
{
"behaviour": 2,
"cause": "the user calls a column by their own name for it, which matches no header"
}
],
"uses_flawed_chart": false,
... | {
"supervises": "final",
"chart_type": "horizontal bar chart",
"library_used": "matplotlib",
"topic": "campus club membership",
"think_blocks": [
"understand_data",
"find_data",
"understand_request",
"clean_reshape",
"chart_choice",
"chart_spec",
"language",
"verify"
],
"fl... |
web | [
{
"role": "user",
"content": "Update the Q2 category share chart we shipped last week — just switch it to a pie chart with percentage labels so execs can see share at a glance. Keep everything else the same.\n\nData is the full Q2 export (30 rows, one row per category aggregate). Use this table as the entir... | {
"id": "t-000005",
"example_type": "edit",
"clarity": "workable",
"phrasing": "command",
"role": "data_analyst",
"behaviours": [
3,
6
],
"triggers": [
{
"behaviour": 3,
"cause": "the user pastes a chart they already have and asks for one small change to it, nothing else"
},
... | {
"supervises": "final",
"chart_type": "bar",
"library_used": "matplotlib",
"topic": "category revenue share",
"think_blocks": [
"understand_data",
"find_data",
"understand_request",
"clean_reshape",
"chart_choice",
"chart_spec",
"language",
"verify"
],
"flaw_shown": null,
... |
web | [
{
"role": "user",
"content": "Can you help clean up a messy billing export and reshape it so I can show the partner where our revenue is actually concentrated? Need a clean visual for the deck tomorrow morning."
},
{
"role": "assistant",
"content": "Absolutely — send the file over. Is it by clie... | {
"id": "t-000006",
"example_type": "clean_reshape",
"clarity": "clear",
"phrasing": "question",
"role": "consultant",
"behaviours": [
4
],
"triggers": [
{
"behaviour": 4,
"cause": "the data arrives with no description of what the columns mean; an earlier turn rested on an assumption... | {
"supervises": "final",
"chart_type": "bar",
"library_used": "matplotlib",
"topic": "revenue concentration",
"think_blocks": [
"understand_data",
"find_data",
"understand_request",
"clean_reshape",
"chart_choice",
"chart_spec",
"language",
"verify"
],
"flaw_shown": null,
... |
web | [
{
"role": "user",
"content": "deck for leadership tomorrow morning — can you redo that service breakdown bar? here's the raw export + the mpl snippet i was copying, just need a quick check before i ship it\n\nincident_id,service,severity,region,created_date,resolution_hours\n2001,Checkout,P1,US,2024-02-01,2... | {
"id": "t-000007",
"example_type": "copy_reference",
"clarity": "workable",
"phrasing": "fragment",
"role": "data_analyst",
"behaviours": [
8
],
"triggers": [
{
"behaviour": 8,
"cause": "the user asks for a review before shipping it; the pasted chart carries a value axis truncated s... | {
"supervises": "final",
"chart_type": "bar",
"library_used": "matplotlib",
"topic": "service incident breakdown",
"think_blocks": [
"understand_data",
"find_data",
"understand_request",
"clean_reshape",
"chart_choice",
"chart_spec",
"language",
"read_chart",
"verify"
],
... |
web | [
{
"role": "user",
"content": "Build me a clean chart from this Amplitude export for the stakeholder deck — need to show feature usage breakdown. Pasted below is the raw extract (still a bit messy from the SDK fix last week). Can you pull something I can drop into slides by EOD?\n\n| week_start | feature | p... | {
"id": "t-000008",
"example_type": "build",
"clarity": "workable",
"phrasing": "command",
"role": "product_manager",
"behaviours": [
1,
6
],
"triggers": [
{
"behaviour": 1,
"cause": "the request names a time frame loosely ('recent', 'lately') that the data can read two ways"
... | {
"supervises": "final",
"chart_type": "bar",
"library_used": "plotly",
"topic": "feature usage share",
"think_blocks": [
"understand_data",
"find_data",
"understand_request",
"clean_reshape",
"chart_choice",
"chart_spec",
"language",
"verify"
],
"flaw_shown": null,
"data... |
web | [
{
"role": "user",
"content": "hey - quick question for the on-call dashboard - I've got this weekly alerts line chart (total alerts per week) that's been running since January. Could you just flip it to a pie chart for the exec review deck? That's the only change I need - keep the same data, just pie instea... | {
"id": "t-000009",
"example_type": "edit",
"clarity": "clear",
"phrasing": "question",
"role": "ops_dashboard_builder",
"behaviours": [
3,
6
],
"triggers": [
{
"behaviour": 3,
"cause": "the user pastes a chart they already have and asks for one small change to it, nothing else"
... | {
"supervises": "final",
"chart_type": "line",
"library_used": "plotly",
"topic": "weekly alerts",
"think_blocks": [
"understand_data",
"understand_request",
"clean_reshape",
"chart_choice",
"chart_spec",
"language",
"verify"
],
"flaw_shown": null,
"data_source": "role_transl... |
web | [
{
"role": "user",
"content": "Need a critical review before I send this deck to product — I threw together a scatter of p95 latency vs user satisfaction per page/region and my read is there's basically no link — fast pages are not reliably happier and slow pages are not reliably unhappier. Tell me if that r... | {
"id": "t-000010",
"example_type": "judge",
"clarity": "workable",
"phrasing": "command",
"role": "web_engineer",
"behaviours": [
8
],
"triggers": [
{
"behaviour": 8,
"cause": "the user asks for a review; the chart is sound and the verdict must say so, naming what was checked"
}... | {
"supervises": "final",
"chart_type": "scatter",
"library_used": "Chart.js",
"topic": "Web Performance",
"think_blocks": [
"understand_data",
"find_data",
"understand_request",
"clean_reshape",
"chart_choice",
"chart_spec",
"language",
"read_chart",
"verify"
],
"flaw_s... |
web | [
{
"role": "user",
"content": "polisci viz assignment due friday - trying to show how influence is spread across those top political books from that amazon co-purchase thing (dec 2006) — like are any books actually pulling ahead or is it pretty flat? prof wants plotly. pasted the export below it's super mess... | {
"id": "t-000011",
"example_type": "clean_reshape",
"clarity": "clear",
"phrasing": "fragment",
"role": "student",
"behaviours": [
4,
1,
5
],
"triggers": [
{
"behaviour": 1,
"cause": "no chart type or encodings are named; only the analytic goal is stated"
},
{
... | {
"supervises": "final",
"chart_type": "dot",
"library_used": "plotly",
"topic": "book co-purchases",
"think_blocks": [
"understand_data",
"find_data",
"understand_request",
"clean_reshape",
"chart_choice",
"chart_spec",
"language",
"verify"
],
"flaw_shown": null,
"data_s... |
web | [
{
"role": "user",
"content": "Need to brief our LatAm portfolio team tomorrow morning — can you tell me who's actually leading on military spend in the region? Pasting the full export below — it's the 2024 SIPRI-adjacent pull with total spend (bn USD), active personnel (k), and spend as % GDP, plus data_yea... | {
"id": "t-000012",
"example_type": "answer_only",
"clarity": "workable",
"phrasing": "mixed",
"role": "data_analyst",
"behaviours": [
7,
1
],
"triggers": [
{
"behaviour": 1,
"cause": "the request says 'leading' with no measure named, and the data offers two candidate measures"
... | {
"supervises": "final",
"chart_type": "bar",
"library_used": "matplotlib",
"topic": "military spending",
"think_blocks": [
"understand_data",
"find_data",
"understand_request",
"clean_reshape",
"chart_choice",
"chart_spec",
"language",
"verify"
],
"flaw_shown": null,
"da... |
ChartSense 11k
This is a supervised fine tuning dataset that teaches a small language model to behave like a data analyst on chart and data visualization work, i.e.
- it should be able to see through the user's words,
- resolve underspecified asks,
- push back if required,
- critique flawed charts, and
- answer the question the chart is a means to.
Built for the AutoScientist Challenge by Adaption Labs.
This is the full build: both slices grown to their current size. The two partial builds, ChartSense_8645_web_enriched and ChartSense_8827_corpus_enriched, hold one slice at the original size so each slice's contribution can be measured separately.
What it is
11,434 conversations between a person with data and an analyst, each paired with the analyst's full reasoning. The analyst reads a table, works out what the person actually wants, decides how to show it, writes runnable code, and checks its own arithmetic before answering.
| Conversations | 11,434 |
| Supervised training lines | 13,242 |
| Average completion | 8,112 characters |
| Completion range | 1,567 to 19,666 characters |
A conversation with two supervised turns, such as one where the analyst asks a question and then answers based on a user response, contributes two lines that share their earlier turns. That is why 11,434 conversations give 13,242 training lines.
How it was built
two kinds of seed -> trajectory -> teacher model -> training row
web article the spec Muse Spark 1.2 conversation
corpus row for one example + thinking block
1. Two kinds of seed. Every example starts from real material, never from a blank page.
- Web seeds produce 5,626 conversations, drawn from 3,019 articles about data and charts. The article text and its chart images are downloaded before generation, so the teacher is reading the real post rather than recalling it. Where there are more conversations than articles, an article is reused under a different specification, never the same one.
- Corpus seeds produce 5,808 conversations from 5,689 rows of four existing visualization corpora. Each brings a real schema, real gold code or a real answer set.
The two kinds produce different data on purpose. A corpus seed hands over an actual table, so the analyst works with real columns. A web seed hands over a world and a problem, so the table has to be built to fit it.
2. Behaviour patterns define the trajectory. Before any model is called, a specification is drawn for each example. It fixes what the user wants, how clearly they ask, who they are, how long the conversation runs, and which behaviours the analyst must exercise.
Those behaviours were chosen from the ways models actually fail on data visualization tasks: charting a question instead of answering it, accepting a vague word like "top" without resolving it against the data, ignoring a stated library, going along with a false claim, or reviewing a chart without recomputing what it asserts. Each behaviour is paired with a cause that has to be visibly present in the user's message, so the example cannot exercise a behaviour the conversation never provoked.
The draw runs against fixed quotas with a ledger correcting drift, uses no model calls, and a fixed random seed reproduces the whole thing.
3. A teacher model writes the example. The seed material and the
specification go to Muse Spark 1.2 at xhigh reasoning effort, which writes the
table, the conversation and the thinking.
4. Validation. Every row is checked against its own specification. Rows that fail are regenerated rather than patched, and rows that cannot be regenerated are dropped.
The thinking block
Each training row's completion opens with a thinking block, then the reply. It uses a closed set of nine XML tagged sections, in a fixed order, and only the ones a given turn needs.
| Tag | What it holds |
|---|---|
<understand_data> |
What one row is, each column's type and range, units, and the quirks: duplicates, blanks, constant columns, mixed types |
<find_data> |
What was selected, what was ignored, and why |
<understand_request> |
The task in analytic terms, the specific gap if there is one, and the decision: proceed, assume, ask, repair or push back |
<clean_reshape> |
The transform plan with a reason per step, and every derived number computed |
<chart_choice> |
Candidate charts killed using this table's own numbers, then the winner, or an explicit decision not to chart |
<chart_spec> |
The encoding plan before code: axes, colour, the title stating the finding, annotations, where caveats live |
<language> |
Which library and why |
<read_chart> |
For any chart in play, what each mark encodes, then whether the metric is sensible, the values recompute, what pattern shows, and what else could explain it |
<verify> |
Re-derives every number the reply will state, then runs a five point check against Tufte's principles |
The <chart_choice> rule is the one that most shapes the reasoning. A rejected
option has to be killed with a count, a value or a ratio from the table in front
of it. "A pie is poor for small categories" does not count, because it is true
of every dataset. "Binning collapses the 32 points into 3 near-equal bars" does,
because it stops being true if the table changes.
Row format
Parquet shards under data/, in chat format with four columns.
messages the whole conversation, ending on the assistant turn to be learned
slice "web" or "corpus"
trajectory the specification the example was built from
out_tags what the teacher determined about the example
messagesis a list of{role, content}, alternating user and assistant and always ending on an assistant turn. That final assistant message is the training target: it holds the thinking block wrapped in<think>and</think>, then the reply. Every earlier assistant turn is conversation history and carries a plain reply with no thinking block.sliceisweborcorpus, naming which kind of seed the example came from. The two are different populations, so filter on this if you want one or the other rather than the pool.trajectoryis the specification the example was built from. It carries the rowid, the tags,supervisesnaming which turn this row supervises, andnear_dup_of. Two fields are reshaped so the schema is stable:triggersis a list of{behaviour, cause}rather than a map keyed by behaviour number, and the corpus seed's source row is carried as JSON text inseed.row_json.out_tagsholds what the teacher determined: chart type, library, topic, which thinking sections fired, the flaw shown, the data source and the table's dimensions. The model is not trained on it.
Conversations run 2 to 12 messages: 7,322 rows are a single exchange and 5,920 are longer threads.
The eight behaviours
Each row exercises one to three behaviours, and each has a visible cause.
| Behaviour | The cause looks like | Conversations |
|---|---|---|
| Resolve an underspecified goal | "the request names a time frame loosely ('recent', 'lately') that the data can read two ways" | 3,202 |
| See through the user's words | "the user asks what they should use for this data, handing over the choice" | 1,308 |
| Iterate in small steps | "the user pastes a chart they already have and asks for one small change to it, nothing else" | 2,052 |
| Handle raw and messy data | "the table arrives with duplicate rows and stray columns the task does not need" | 2,977 |
| Honour the user's stack | "the user's pasted matplotlib code makes the library unambiguous and the reply must stay in it" | 2,970 |
| Handle a bad request or wrong claim | "the user asks for a chart form that will not work at this cardinality, and a defensible repaired version exists" | 2,702 |
| Answer the question, not just chart it | "the user asks a question whose answer requires computing over the data, not looking at it" | 1,817 |
| Assess a chart critically | "the user asks for a review; the chart is sound and the verdict must say so, naming what was checked" | 2,761 |
Composition
What the user wants done
| Conversations | |
|---|---|
| Clean up and reshape raw data | 2,977 |
| Build a chart from scratch | 2,266 |
| Make one small change to an existing chart | 2,052 |
| Review a chart critically | 1,827 |
| Get an answer, chart at most a by-product | 1,378 |
| Reproduce a chart they have seen | 934 |
How clear the request is. 5,128 fully answerable as asked. 5,182 with a gap the analyst fills and states as an assumption. 1,124 with a gap that genuinely needs one question, because two readings change the output.
Conversation shape. 9,626 rows supervise the final turn only. 1,124 supervise an ask, 684 a pushback, and 1,808 the resolution that follows one of those. Turn counts run 2, 4, 6, 8, 10 and 12, with 6,338 single exchanges and 5,096 longer threads.
Charts and code. 589 distinct chart types, led by bar 4,283, line 2,115, pie 501, scatter 480, horizontal bar 326, heatmap 270. Libraries are matplotlib 6,920, plotly 1,434, altair 1,003, seaborn 732, vega-lite 395, Chart.js 375.
Flawed charts. 2,359 conversations paste a chart with a real fault for the analyst to find: truncated axes, cherry-picked windows, radius-scaled bubbles, inverted axes, manufactured second axes, loaded titles, flattering category order, missing units. The corrected version appears only in the reply, never as input.
Unanswerable requests. 565 conversations ask for something the data cannot support. The correct reply says so plainly and states what the data can support instead.
Tables. Average 33.9 rows by 5.8 columns, ranging 2 to 80 rows. The pasted table is always the entire dataset, so every number in a reply can be checked against it.
Sources
Web seeds
| Source | Conversations |
|---|---|
| OpenReview papers and reviews | 2,991 |
| Andrew Gelman's blog | 750 |
| Junk Charts | 651 |
| We Have The Data | 383 |
| Kieran Healy | 328 |
| Randal Olson | 313 |
| Road to Larissa | 100 |
| Sportsball | 81 |
| PAIR | 29 |
Corpus seeds
| Corpus | Conversations |
|---|---|
| VisCode-200K | 2,470 |
| nvBench 2.0 | 1,536 |
| ChartGPT | 907 |
| Chart2Code-160k | 895 |
Only training splits were read. Development and test splits were never loaded, so no test row can reach the output by any path.
Known limits
- Prompt versions are not uniform. The instructions were revised as faults were found. 443 web rows came from an earlier version whose rules for pushback turns were weaker. Every row that failed validation was regenerated, so all rows pass, but those 443 were written under a weaker prompt.
- The teacher occasionally drops a question mark at the end of an ask turn.
Those rows were corrected by appending a single
?and changing nothing else; in every case the question was already the final sentence. Expect roughly 6% of ask turns to need it on any regenerated batch. - About 1% of assistant turns in the conversation history are acknowledgements carrying no numbers, which the instructions ask the teacher to avoid.
- Flaw and chart type labels are free text, so the same fault appears under
several spellings, e.g.
truncated y-axisandtruncated_y_axis. Normalise before using them as a filter. - The corpus slice is machine generated at source. All four corpora are themselves synthetic, unlike the web articles.
- nvBench 2.0 and ChartGPT share a lineage. Both descend from Spider, so they were capped as one source rather than two.
- The two slices are different populations. Sample from them deliberately rather than as one pool.
- 906 of the 11,434 conversations are near-duplicates
of another conversation, by design, so the model sees the same request over
differently shaped data.
trajectory.near_dup_ofnames the partner. Split on that field, or a random split will put a pair either side of the train and test line. - A conversation with two supervised turns repeats its trajectory across
both of its lines, so
trajectory.idis not unique per line. Group on it if you need one record per conversation.
Licensing
Released under CC-BY-4.0.
- Downloads last month
- 29