twoHelixestwoHelixes Start free

Datasets / Generated

Sales orders

Two years of orders with regions, channels, discounts and refunds.

11,316 rows10 columns Generated

Worked examples

Each of these is a real run: the pipeline picked the columns, shaped the rows and chose the form. Open the trace to see what it decided and why.

Net revenue by region, monthly

Three regions moving in different directions: the crossover is the answer, and it is only visible once the daily orders are rolled up to months.

Net Amount over time0100k200k300kJan 24Apr 24Jul 24Oct 24Jan 25Apr 25Jul 25Oct 25MonthNorth AmericaEuropeAPACLatAmMEA
how did net revenue trend by region over time? — 120 rows charted from 11,316, drawn as a line
How it decided
Finding the data54 ms

Sales orders: 11,316 rows, 10 columns. order_date, region and net_amount answer this; the other six columns do not enter the chart.

Shaping the data13 ms

11,316 rows in, 120 out across 3 columns. Three regions moving in different directions: the crossover is the answer, and it is only visible once the daily orders are rolled up to months.

Choosing the chart14 ms

line. Time on x and one line per region. Grouped bars would put twelve months side by side and hide the crossing.

Applying defaults1 ms

Palette, spacing, axis titles and legend placement applied. 0 issues found.

Average net revenue per order, by channel

A per-order average, not a total: the channel with the most revenue and the channel with the most valuable order are usually not the same channel.

Net Amount by Channel02505007501k1.2kReferralPaid searchEmailChannel
which channel brings the most revenue per order? — 6 rows charted from 11,316, drawn as a bar
How it decided
Finding the data49 ms

Sales orders: 11,316 rows, 10 columns. channel and net_amount; order counts come from the grouping itself.

Shaping the data5 ms

11,316 rows in, 6 out across 2 columns. A per-order average, not a total: the channel with the most revenue and the channel with the most valuable order are usually not the same channel.

Choosing the chart7 ms

bar. A handful of named categories being compared on one measure is a bar chart, sorted so the ranking is the shape.

Applying defaults1 ms

Palette, spacing, axis titles and legend placement applied. 0 issues found.

Refund rate by product category

A rate, computed from the flag rather than counted twice: the mean of a boolean is the share that are true.

Refund rate by category01234SupportServicesSoftwareHardwareTrainingRefund Rate
what share of orders get refunded, by category? — 5 rows charted from 11,316, drawn as a hbar
How it decided
Finding the data54 ms

Sales orders: 11,316 rows, 10 columns. category and the refunded flag. Amounts are irrelevant to a rate.

Shaping the data10 ms

11,316 rows in, 5 out across 2 columns. A rate, computed from the flag rather than counted twice: the mean of a boolean is the share that are true.

Choosing the chart5 ms

hbar. Category names are long, so the bars run horizontally and the labels stay readable rather than rotating.

Applying defaults1 ms

Palette, spacing, axis titles and legend placement applied. 0 issues found.

Schema

10 columns, typed as the pipeline sees them — which is how it knows what can go on a time axis and what can be summed.

Column TypeExample
order_idnumber100001
order_datedate2024-01-01
regiontextAPAC
channeltextPaid search
categorytextHardware
unitsnumber8
amountnumber544.41
discountnumber27.22
refundedbooleanFalse
net_amountnumber517.19

First 8 rows

order_idorder_dateregionchannelcategoryunitsamountdiscountrefundednet_amount
1000012024-01-01APACPaid searchHardware8544.4127.22False517.19
1000022024-01-01APACReferralServices32165.910.0False2165.91
1000032024-01-01North AmericaPartnerTraining61601.870.0False1601.87
1000042024-01-01North AmericaOrganicSupport2154.860.0False154.86
1000052024-01-01LatAmEmailSoftware7297.9459.59False238.35
1000062024-01-01North AmericaSocialSupport599.789.98False89.8
1000072024-01-01North AmericaPaid searchSoftware3216.5821.66False194.92
1000082024-01-01APACReferralTraining6335.20.0False335.2