Coaster nausea
RollerCoaster Tycoon 2 rates every ride on intensity and nausea. Do intense rides make guests sick? Here are 142 coasters from 31 parks, loaded live from datasette.exe.xyz.
One bad row
With all 142 rides as they come, intensity and nausea have a correlation of only
A least-squares line can't ignore a point that far out, so it flattens to reach it, and the other 141 rides barely count. The value is almost certainly a slipped decimal point. The game files the ride under "Medium" intensity, and the other Medium rides run from 2.56 to 5.05, so 4.494 fits right in.
The trend, and how loose it is
A ride with an intensity of
The ring is the line's guess, and the shaded strip holds the rides near that intensity. Intensity
explains
How it's built
- The data comes from a
<t-fetch>. It sends one SQL query to datasette's JSON API, where_shape: 'array'asks for a plain array of rows, and puts the answer inrides. Until it arrives,rides ?? []gives the expressions an empty array, and the numbers show–. - No scope, one set of variables. Both sections use the page-wide variables, so the choice in
the first one feeds
rowsandlinein the second. - Two registered functions.
cleanapplies the choice to the broken row, andfitis a least-squares line with its correlation. Everything else is a<t-let>or a chart expression.