value: getRandomArbitrary()

in packages/react-heat-streams-stories/stories/InteractiveChart.tsx [71:104]


					value: getRandomArbitrary(0, 100),
				}))
				return prev
			}, {} as ICategoryValueMap)
		}, [])
		const [selections, setSelections] = useState<ICategorySelectionMap>({})
		const colorizerFn = useCallback((value: any) => colorizer.color(value), [
			colorizer,
		])
		const xDomain = useMemo<XDomain>(() => [0, 100], [])

		return (
			<HeatStreamsChart
				// Required Props
				categories={categories}
				categoryValues={categoryValues}
				width={width}
				height={height}
				colorizer={colorizerFn}
				// Optional Props
				numericAggregation={1}
				dateAggregation={DateAggregation.Days}
				numTicks={numTicks}
				rowHeight={rowHeight}
				axisHeight={axisHeight}
				xDomain={xDomain}
				highlightColor={'#FF00FF'}
				selections={selections}
				showValues={true}
				textColor={textColor}
				onClickCategory={useCallback(
					(cat: ICategory, ctrl: boolean) => {
						const selection: ICategorySelectionMap = ctrl
							? {