Skip to content

Bubble chart

D3 API

Chart.Bubble

js
import { Chart } from '@semcore/ui/d3-chart';
import { Chart } from '@semcore/ui/d3-chart';

BubbleChartProps

BaseChartProps<> & {...}
NameTypeDescription
groupKeynever
xScaleScaleLinear<anyany>
yScaleScaleLinear<anyany>

Bubble

js
import { Bubble } from '@semcore/ui/d3-chart';

<Bubble />;
import { Bubble } from '@semcore/ui/d3-chart';

<Bubble />;

BubbleProps

& {...}
NameTypeDescription
xstringField name from `data` array item for the XAxis
ystringField name from `data` array item for the YAxis
valuestringField name from `data` array item for the circle radius
labelstringField name from `data` array item for the circle label
colorstringCircle color
markedCrossbooleanCross in the center of the bubble
durationnumberAnimation duration in ms
transparentbooleanEnables element transparency

Released under the MIT License.

Released under the MIT License.