Skip to content

Bubble chart

D3 chart

For all common D3 chart properties, refer to D3 chart API.

Chart.Bubble

js
import { Chart } from 'intergalactic/d3-chart';
import { Chart } from 'intergalactic/d3-chart';

BubbleChartProps

BaseChartProps<> & {...}
NameTypeDescription
groupKeynever
xScaleScaleLinear<any, any>
yScaleScaleLinear<any, any>

Bubble

js
import { Bubble } from 'intergalactic/d3-chart';

<Bubble />;
import { Bubble } from 'intergalactic/d3-chart';

<Bubble />;

BubbleProps

& {...}
NameTypeDescription
xstring Field name from `data` array item for the XAxis
ystring Field name from `data` array item for the YAxis
valuestring Field name from `data` array item for the circle radius
labelstring Field name from `data` array item for the circle label
colorstring Circle color
markedCrossboolean Cross in the center of the bubble
durationnumber Animation duration in ms
transparentboolean Enables element transparency
patterns Enables charts patterns that enhances charts accessibility

Released under the MIT License.

Released under the MIT License.