Skip to main content
100%

scatter plot fruit

✓ Published1🌍 Public
Aadithiarikatla@gmail.com
Last edited Oct 25, 2025
Created on Oct 25, 2025

A scatter plot compares sugar content and calorie count for fifteen fruits, encoding each fruit's dominant vitamin (A, B, or C) through both color and point shape. Built with D3 v7, the visualization uses a linear scale for both axes, ordinal scales for the categorical styling, and SVG paths drawn with `d3.symbol()` variants. The chart includes labeled axes, a title, and a legend mapping vitamin types to their corresponding visual encodings.

AI-generated description
MIT Licensed

Similar vizzes