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: [4, 12],
},
spacing: 1,
layout: SwarmPlotCanvasDefaultProps.layout,
gap: SwarmPlotCanvasDefaultProps.gap,
forceStrength: 1,
simulationIterations: 60,
colors: { scheme: 'paired' },
colorBy: 'group',
borderWidth: 0,
borderColor: {
from: 'color',
modifiers: [['darker', 0.6]],
},
margin: {
top: 80,
right: 100,
bottom: 80,