🌍 Public
Viewing a saved revision (read-only)
ccf0c9c041f54abaadb7347d374c3822
ICE-7 scatter plot
This scatter plot visualizes the relationship between sugars and calories for various cereals, with each dot colored by manufacturer and sized by protein content. Built with D3 v7, it uses `d3.scaleLinear` for axes, `d3.scaleSqrt` for dot radius, and `d3.scaleOrdinal` with `d3.schemeTableau10` for categorical colors. A legend identifies manufacturers, and hover tooltips display cereal details. The chart is rendered as SVG in a reusable chart factory, with data loaded from a remote CSV file via `d3.select` and the `join` operator to create circle elements.
AI-generated description