Public
Edited
Sep 6, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
horapolloRegular = FileAttachment("Horapollo-Regular.ttf")
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
data2.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
basevectors = FileAttachment("data2.csv")
Insert cell
polardist_image@3.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
imagesnippets = FileAttachment("polardist_image@3.csv")
Insert cell
allimages = d3.csvParse(await imagesnippets.text())
Insert cell
import {button} from "@jashkenas/inputs"
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
favorite
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
mutable counter4 = 0;
Insert cell
mutable counter7 = 0;
Insert cell
mutable counter6 = 0;
Insert cell
mutable counter3 = 0;
Insert cell
Insert cell
sheetHeadings = Object.keys(sheet[0])
Insert cell
Insert cell
teams = [
{name: "1 Wheel", location: [0], truth: [false, true, true, true], inside: 73, outside: 76, triangle1:5, triangle2:70 },
{name: "2 Wheels", location: [0,0], truth: [false, false, true, true], inside: 113, outside: 116, triangle1: 25, triangle2: 110},
{name: "3 Wheels", location: [0,0,0], truth: [false, false, false, true], inside: 153, outside: 156, triangle1: 45, triangle2: 150},
{name: "4 Wheels", location: [0,0,0,0], truth: [false, false, false, false], inside: 193, outside: 196, triangle1: 65, triangle2: 190},
]
Insert cell
Insert cell
Insert cell
Insert cell
//import { HorizontalStack } from '@tomktjemsland/inputs'
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
favorite.triangle2
Insert cell
placement =Math.asin(32.5/favorite.triangle2)*57.2958
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
finalimage = word[(Math.floor(d3.mean(place2)+(((Math.random()*2)-1)*d3.mean(place2)*0.1)))]
Insert cell
finalimage2 = word[(Math.floor(d3.mean(place3)+(((Math.random()*2)-1)*d3.mean(place3)*0.1)))]
Insert cell
finalimage3 = word[(Math.floor(d3.mean(place4)+(((Math.random()*2)-1)*d3.mean(place4)*0.1)))]
Insert cell
Insert cell
Insert cell
Insert cell
[54158, 66079, 49903, 18786, 3716, 8690, 2874,]
Insert cell
Insert cell
Insert cell
Insert cell
Math.floor(rownumbers[0])
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
mutable counter5 = 0;
Insert cell
import { analytics } from '@chrispahm/simple-privacy-friendly-web-analytics'
Insert cell
analytics(html`<a href>`.href)
Insert cell
mutable counter2 = 0;
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more