Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fruit Nutrition

Public visualization

Viewing a saved revision (read-only)

db2323047d0e4fef872115fc4c14d0fb

Fruit Nutrition

0 stars0🌍 Public
Ppriyapravallika44@gmail.com
Last edited Mar 25, 2025
Created on Mar 25, 2025

This scatterplot visualizes the nutritional relationship between sugar content and calories across various fruits. Each circle represents a fruit, plotted on a Cartesian coordinate system with sugar grams on the x-axis and calories per 100g on the y-axis. The visualization uses d3.csv to parse the external fruit dataset, d3.scaleLinear for axis scaling, and d3.axisBottom/d3.axisLeft for labeled axes. Rendered as an SVG, the chart employs d3.select to append circles with a fixed radius, while axis titles clarify the measured variables.

AI-generated description