Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
identity: 'id',
value: 'price',
valueFormat: '$.2f',
valueScale: {
type: 'linear',
min: 0,
max: 500,
reverse: false,
},
size: {
key: 'volume',
values: [4, 20],
sizes: [6, 20],
},
spacing: 2,
layout: SwarmPlotDefaultProps.layout,
gap: SwarmPlotDefaultProps.gap,
forceStrength: 4,
simulationIterations: 100,
colors: SwarmPlotDefaultProps.colors,
colorBy: 'group',
borderWidth: 0,
borderColor: {
from: 'color',
modifiers: [
['darker', 0.6],
['opacity', 0.5],
],
},
margin: {