Turn presentations into applications with Observable and Shiny. Use component layout to position inputs and outputs.
viewof talentWeight = Inputs.range([-2, 2], { value: 0.7, step: 0.01, label: "talent weight" }) viewof looksWeight = Inputs.range([-2, 2], { value: 0.7, step: 0.01, label: "looks weight" }) viewof minimum = Inputs.range([-2, 2], { value: 1, step: 0.01, label: "min fame" })
import { plotActors } from './actors.js'; plotActors(actors, talentWeight, looksWeight, minimum)