Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-06: COMBINED CHART

Public visualization

ICE-06: COMBINED CHART

0 stars0🌍 Public
LLaasyaJ256
Last edited Mar 7, 2026
Created on Mar 7, 2026
Forked from React & D3 Starter

This combined chart compares grocery spending across ten equal-sized segments of the dataset. A single bar series shows average produce spending, while overlaid line-and-dot series depict average dairy, snacks, and beverages spending using distinct colors. The visualization uses d3.csv to load data, d3.mean for aggregation, and d3.scaleBand, d3.scaleLinear, d3.line, and d3.axisBottom/Left to construct the SVG rendering. The chart is built with d3.v7 inside a React framework, and the initial view includes axis labels and a legend.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed