Coffee Scatter Plot
This scatter plot compares aroma and flavor ratings for the first 500 coffee samples from the Coffee Quality Institute dataset, showing a positive correlation between the two taste attributes. The visualization uses D3 v5 scales, axes, and SVG circles, with data loaded via `d3.csv` and parsed with unary plus operators. Axes are rendered using `axisBottom` and `axisLeft`, while circles are appended to a group element with a brown fill and low opacity. The chart’s domain is fixed from 7 to 9 for both scales, and axis labels and a title are added as SVG text elements.
AI-generated descriptionThese data were scraped from the Coffee Quality Institute (CQI) by James LeDoux, and are currently hosted in his GitHub repo. This dataset (hosted on VizHub) includes a number of attributes that describe the taste on a scale from 1 to 10, and I thought that flavor and aroma could be correlated. This graphic shows the comparison of flavor versus aroma for the first 500 samples in the dataset. It seems as though I was correct, and that flavor and aroma are correlated.