Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cereal Bubble Chart in D3

Public visualization

Viewing a saved revision (read-only)

4128fdfd3dcb44b280839aaf2e4ae509

Cereal Bubble Chart in D3

0 stars0🌍 Public
EEunice Tu
Last edited Feb 25, 2024
Created on Feb 23, 2024
Forked from D3 Starter

This bubble chart compares breakfast cereals by plotting calories on the x-axis, weight on the y-axis, and using bubble radius to represent ratings. Color encodes the manufacturer, with a legend showing both color categories and rating sizes. The visualization loads CSV data via `d3.csv`, renders SVG circles using `d3.scaleLinear` for axes and bubble size, and applies `d3.scaleOrdinal` with `d3.schemeTableau10` for manufacturer colors. The dataset contains nutritional information for 80 cereals from seven manufacturers.

AI-generated description

Refere