Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7.1 Q2

Public visualization

Viewing a saved revision (read-only)

3507a38255d24ef291e2748e841045de

Activity 7.1 Q2

0 stars0🌍 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