First, let's take a look at the macros. Each of these are listed in grams and as usual, normalized to 200 calories for easy comparison, so we're always comparing apples to apples.
| Cantaloupe | Pineapple |
| Nutrient | cantaloupe | pineapple |
| Protein | 5g | 2g |
| Carbohydrate | 48g | 53g |
| Fiber | 5g | 0g |
| Fat | 1g | 1g |
| Monounsat. Fat | 0g | 1g |
| Polyunsat. Fat | 0g | 0g |
| Saturated Fat | 0g | 0g |

Next, let's take a look at the Vitamin density. These values are shown in units of percent of recommended daily intake. And since we're showing 200 calories worth, this means anything above 10% is good.
| Nutrient | cantaloupe | pineapple |
| Choline | 11% | 6% |
| Vitamin A | 159% | 2% |
| Vitamin C | 288% | 100% |
| Vitamin E | 2% | 0% |
| Vitamin K | 18% | 4% |
Cantaloupe have significantly more Vitamins A, C, K than pineapple. Cantaloupe are a good source of Thiamin, Niacin, Vitamin B6, Magnesium, Iron. Cantaloupe are a great source of Potassium. Cantaloupe are an excellent source of Vitamin A, Vitamin C. Pineapple are a good source of Thiamin. Pineapple are a great source of Vitamin B6. Pineapple are an excellent source of Vitamin C.

And here we see the B-vitamins: B1 (Thiamin), B2 (Riboflavin), B3 (Niacin), B5 (Pantothenic Acid), B6 (Pyridoxine)
| Nutrient | cantaloupe | pineapple |
| Vitamin B1 | 24% | 35% |
| Vitamin B2 | 10% | 12% |
| Vitamin B3 | 36% | 17% |
| Vitamin B5 | 12% | 17% |
| Vitamin B6 | 39% | 43% |
| Vitamin B12 | 0% | 0% |
Now, lets look at mineral density. Here we have a lot of important electrolytes and minerals. Once again, units are in percent of RDI, thus for this 200 calorie serving anything above 10% would considered high.
| Nutrient | cantaloupe | pineapple |
| Sodium | 6% | 0% |
| Potasium | 45% | 16% |
| Calcium | 11% | 12% |
| Magnesium | 20% | 15% |
| Phosphorus | 15% | 7% |
| Iron | 21% | 19% |
| Manganese | 10% | 308% |
| Selenium | 5% | 0% |
| Copper | 24% | 36% |
| Zinc | 11% | 4% |