Charts / Scatter
Two-dimensional point plot. Reveals correlations and clusters across two numeric variables.
Pass this structure to the
:data prop.
[
['x' => 175, 'y' => 80, 'label' => 'Alice', 'group' => 'Control'],
['x' => 182, 'y' => 95, 'label' => 'Bob', 'group' => 'Treatment'],
]
<x-tayo::chart
type="scatter"
:data="$data"
:height="420"
colors="default"
/>