twoHelixestwoHelixes Start free

Datasets / Wine recognition

Alcohol against colour intensity, by cultivar

Two chemical measures with the cultivar as colour: the clusters are the answer, not any single axis.

Question show alcohol against colour intensity by cultivar
Alcohol against colour intensity0510151.953.352.41.285.053.525.047.17.99.899999Color Intensityclass_1class_0class_2
Wine recognition — 178 rows charted from 178, drawn as a scatter
How it decided
Finding the data111 ms

Wine recognition: 178 rows, 14 columns. alcohol, color_intensity and cultivar.

Shaping the data5 ms

178 rows in, 178 out across 3 columns. Two chemical measures with the cultivar as colour: the clusters are the answer, not any single axis.

Choosing the chart10 ms

scatter. Two measures split by a category: a scatter, capped at three series.

Applying defaults1 ms

Palette, spacing, axis titles and legend placement applied. 0 issues found.

The transformation

This is the code, not a description of it — the chart above was drawn from what it returns, and the notebook download runs the same lines against the same file.

result = df[["alcohol", "color_intensity", "cultivar"]]

What it charted

178 rows out of 178, 3 columns. First 8 shown.

alcoholcolor_intensitycultivar
14.235.64class_0
13.24.38class_0
13.165.68class_0
14.377.8class_0
13.244.32class_0
14.26.75class_0
14.395.25class_0
14.065.05class_0