Activity 7.1 Q2
✓ Published0🌍 Public
This visualization shows the average caloric value of foods grouped into three categories—Low, Medium, and High—using an area chart with a monotone curve. The code loads a CSV dataset from GitHub, categorizes each food by its caloric value, and computes the mean per group. It uses d3.group, d3.mean, d3.scaleBand, d3.scaleLinear, and d3.area to render the SVG path, with axes and labels added via d3.axisBottom and d3.axisLeft.
AI-generated descriptionMIT Licensed