Published
Edited
Jul 5, 2022
1 fork
1 star
Insert cell
Insert cell
Insert cell
Insert cell
totalReach = players.reduce((sum, d) => sum + d.reach, 0)
Insert cell
Insert cell
viable = [
{ players: 2, reach: 17 },
{ players: 3, reach: 18 },
{ players: 4, reach: 21 },
{ players: 5, reach: 25 },
{ players: 6, reach: 28 }
]
Insert cell
Insert cell
factions = [
{ name: "Marquise de Cat", reach: 10, color: "#c67848" },
{ name: "Lord of the Hundreds", reach: 9, color: "#bd3543" },
{ name: "Keepers in Iron", reach: 8, color: "#828382" },
{ name: "Underground Duchy", reach: 8, color: "#e1c4aa" },
{ name: "Eyrie Dynasties", reach: 7, color: "#496499" },
{ name: "Vagabond (1st)", reach: 5, color: "#636463" },
{ name: "Vagabond (2nd)", reach: 2, color: "#636463" },
{ name: "Riverfolk Company", reach: 5, color: "#76bab0" },
{ name: "Woodland Alliance", reach: 3, color: "#74ad5d" },
{ name: "Corvid Conspiracy", reach: 3, color: "#7e588f" },
{ name: "Lizard Cult", reach: 2, color: "#f8ef7c" }
]
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