Skip to main content
100%

Activity 7.1 Q2

✓ Published0🌍 Public
Nnissisharon61@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

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 description
MIT Licensed

Similar vizzes