import { RidgelinePlot } from "semiotic" const frameProps = { /* --- Data --- */ data: [{ k: "Almost Certainly", v: 95 }, { k: "Highly Likely", v: 80 }, ... ], /* --- Size --- */ size: [700,550], margin: { left: 150, top: 50, bottom: 75, right: 15 }, /* --- Layout --- */ orientation: "horizontal", categoryPadding: 5, /* --- Process --- */ valueAccessor: "v", categoryAccessor: "k", bins: 10, amplitude: 1.5, /* --- Customize --- */ title: " What [probability] would you assign to the [phrase]?", showGrid: false, colorBy: "k", colorScheme: ["#ac58e5","#E0488B", ... ], /* --- Interact --- */ enableHover: true } export default () => { return <RidgelinePlot {...frameProps} /> }