Add a third dimension to a scatter plot: the size of each marker follows a size value.
Why it helps
- Three values in one chart
- Marker size
- Clear patterns
Where it fits
- Market maps
- Portfolio views
- Sales vs margin
Example
<BubbleChart Zoomable="true" Label="Countries" XLabel="GDP per person (k$)" YLabel="Life expectancy" SizeLabel="Population (M)" Series="_series" ValueFormat="#,0.#" />
@code {
private readonly BubbleSeries[] _series =
[
new("Europe", [new(52, 82, 83), new(45, 81, 67), new(38, 83, 47), new(25, 77, 38), new(18, 75, 10)]),
new("Asia", [new(12, 77, 1400), new(8, 70, 1380), new(40, 84, 125), new(33, 83, 52)]),
new("Africa", [new(6, 66, 210), new(5, 63, 120), new(15, 74, 60)])
];
} A short fragment. Add @using RayCraft.Blazor.Components to your page and use an interactive render mode.
Part of RayCraft Complete.