You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- **Scatter Plot**: good default for relationships/correlations. Use config opacity (0.1–1.0) for dense data instead of encoding opacity.
90
-
- **Regression**: automatically overlays a trend line — do NOT compute regression in Python.
91
-
- **Histogram**: only needs x encoding; values are auto-binned.
92
-
- **Bar Chart**: same-x rows are automatically stacked. Use Grouped Bar Chart for side-by-side (group channel, not color).
89
+
- **Regression**: automatically overlays a trend line — do NOT compute regression in Python. Use color to get separate trend lines per group.
90
+
- **Bar Chart**: x=categorical, y=quantitative (vertical bars). Swap x↔y for horizontal bars. For histograms/distributions, bin the data in the Python step. Same-x rows are auto-stacked.
91
+
- **Grouped Bar Chart**: use the group channel (not color) for side-by-side bars.
93
92
- **Line Chart**: use strokeDash to differentiate line styles (e.g. actual vs forecast).
94
93
- **Pie Chart**: use "size" channel (not "theta") for the wedge values. Avoid when >7–8 categories.
95
94
- **Lollipop Chart**: like bar but with dot+line — cleaner for ranked comparisons.
0 commit comments