Fruit Nutrition
✓ Published0🌍 Public
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 descriptionMIT Licensed