Relationships
Use a scatter plot to compare two measures, such as cost and sales. A bubble can encode a third measure through size. Choose distinct X and Y measures in Layout before selecting the chart.
Relationship charts
Section titled “Relationship charts”Interactive example
Relationship charts
Correlation between two measures.
| Type | Best for | Required data |
|---|---|---|
scatter | Correlation between measures. | Explicit X/Y groups with single-channel broadcast or matched parallel bindings; incomplete points are omitted. |
bubble | Correlation with a third magnitude. | Explicit X/Y/size groups with broadcast or matched parallel bindings; sizes must be non-negative. |
quadrant | Positioning observations against two authored thresholds. | Explicit X/Y groups; optional bubble sizing and numeric axis/split configuration. |
densityScatter | Dense relationships where individual points overlap. | One x and one y; dense geometry is aggregated for rendering and accessibility. |
connectedScatter | Showing the path or sequence between X/Y observations. | One x and one y; category order defines the connection order. |
The Layout panel infers distinct X/Y bindings when possible. A measure already used by one required relationship channel is disabled for the other.
Next steps
Section titled “Next steps”See channel bindings, selection and chart chooser.