Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_6-Q-6

Public visualization

Viewing a saved revision (read-only)

7b0ea97a8e334ce6bdbb5a03f7aeaba6

Activity_6-Q-6

0 stars0🌍 Public
Kkrishna444battula@gmail.com
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Activity_6 Task-3

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 description