6-Scatter Plot
✓ Published0🌍 Public
This example visualizes the relationship between fixed acidity and volatile acidity in wine samples, with each point’s label derived from residual sugar values. The visualization is built using Chart.js, which renders a scatter plot onto an HTML Canvas element. The code loads a CSV file via Papa Parse, dynamically typing the columns, then maps the parsed data to x and y coordinates for the chart. The plot uses a linear scale for both axes, with axis titles displayed, and applies a custom background color to the data points.
AI-generated descriptionMIT Licensed