1# A notebook recipe: nushell cleans a CSV's money text into numbers, a2# second cell totals it by region, and Insert > Chart on its output's3# grid sends the output to a sheet and charts the totals there. Cells run with Esc then r, as the4# terminal (ttyd) sends Shift+Enter as Enter. Needs nu on the PATH.5Output out/nu-recipe.gif6Source lib/setup.tape7Set Theme "tokyonight"89Hide10Type "../bin/012 nu" Enter11Sleep 2s12Show1314Sleep 800ms15Type@35ms `sales = open data/sales.csv | update Revenue { str replace -ar '[$,]' '' | into float }`16Sleep 500ms17Escape18Type "r"19Sleep 2s20Type "b"21Enter22Type@35ms "totals = $sales | group-by Region --to-table | update items { get Revenue | math sum } | rename Region Revenue"23Sleep 500ms24Escape25Type "r"26Sleep 2s27Screenshot out/stills/nu-recipe-cells.png28Down29Enter30Sleep 800ms31Ctrl+K32Type@120ms "chart"33Sleep 800ms34Enter35Sleep 1.5s36Enter37Sleep 800ms38Escape39Sleep 2.5s40Screenshot out/stills/nu-recipe-chart.png41Sleep 1s