Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const generateLightDataSet = previousData => {
if (previousData !== undefined) return randomizeSwarmPlotData(previousData)
return generateSwarmPlotData(allGroups.slice(0, 3), { min: 50, max: 80 })
}