Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CS573 Final Project - Cholesterol (mg) vs Sodium (mg) w/ category grouping

Public visualization

Viewing a saved revision (read-only)

89177dfdd5ed4e10953648fae0b847bd

CS573 Final Project - Cholesterol (mg) vs Sodium (mg) w/ category grouping

0 stars1🌍 Public
Ppbruss@bu.edu
Last edited Oct 31, 2024
Created on Oct 24, 2024

This scatter plot shows the relationship between sodium and cholesterol for menu items from six fast food chains, with circle size encoding calorie count and color distinguishing each restaurant. The visualization uses d3.scaleLinear for axes, d3.scaleOrdinal with schemeCategory10 for color coding, and includes interactive tooltips on hover. The chart is rendered responsively using the @pbruss/responsive-axes library, pulling data from a Kaggle fast food nutrition dataset.

AI-generated description

CS573 Final Project Chart showcasing a responsive Cholesterol vs Sodium levels scatter plot for menu items belonging to six of the most popular fast food restaurants.

Items are color-coded by restaurant name as follows:

  • McDonald's (Pink)
  • Wendy's (Gray)
  • KFC (Brown)
  • Pizza Hut (Green)
  • Burger King (Orange)
  • Taco Bell (Purple)

TO-DO: Implement legend with the following color scheme