Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 line chart

Public visualization

Viewing a saved revision (read-only)

81f544f441ec44cfbc1c824e18cce5a8

ICE-7 line chart

0 stars1🌍 Public
Ppanyamsantosh09@gmail.com
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from HTML Starter

This line chart shows the relationship between sugar content and average customer rating for breakfast cereals, aggregating the raw cereal dataset by computing the mean rating for each sugar level. The visualization uses D3 v7’s `d3.csv` with `d3.autoType` to load and parse the data, then groups it with `d3.rollups` and `d3.mean` before applying `d3.scaleLinear` scales and a monotone cubic curve via `d3.curveMonotoneX`. The SVG output includes axis labels, a blue path with `d3.line`, and small circles with tooltips showing exact values.

AI-generated description