Activity_6-Q-6
✓ Published0🌍 Public
This scatter plot visualizes the caloric content of ten different fruits, with each fruit represented as a point on the chart. The x-axis displays fruit names while the y-axis shows calories per 100 grams, and each point is assigned a unique color to distinguish between fruits. The visualization uses Chart.js with a Canvas rendering context, mapping fruit indices to x-coordinates and calorie values to y-coordinates. The data comes from a static CSV file containing fruit names and their caloric values, hardcoded into the script.
AI-generated descriptionMIT Licensed