Scatter Plot with Menu by mfr(legends)
This scatter plot visualizes cereal data, showing the relationship between two user-selectable nutritional attributes (such as sugars and calories) via dropdown menus. Points are colored by manufacturer using a categorical scale with an interactive legend; clicking a legend entry highlights that manufacturer’s cereals and filters out others. The visualization uses D3.js v5 with SVG rendering and animated transitions, leveraging `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.axisBottom`, `d3.axisLeft`, and `d3.interpolateViridis` for colors. Data comes from a CSV file of cereal ratings.
AI-generated descriptionThis plot gives the info on how cereals with sugar content (sugar being the most important ingredient to cut down for healthy diet) are rated. This scatter plot shows data about cereals, from https://perso.telecom-paristech.fr/eagan/class/igr204/datasets