🌍 Public
Viewing a saved revision (read-only)
c32b6b9f1e6b401092cae2bd60d50eba
ICE-7 line chart
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