Skip to main content
Public

Share visualization

Loading preview…

Scatter Plot with Menu by mfr(legends)

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Scatter Plot with Menu by mfr(legends)

0
Ssrrajendran
Last edited Nov 6, 2018
Created on Oct 16, 2018

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 description

This 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

Comments

Sign in to join the discussion.

MIT Licensed