Skip to main content
100%

6-Scatter Plot

✓ Published0🌍 Public
GGorantla Vishnusai
Last edited Apr 1, 2025
Created on Apr 1, 2025

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 description
MIT Licensed

Similar vizzes