Marc Sandbox

From Marketing
Revision as of 20:39, 28 April 2020 by Mjbroe01 (talk | contribs)
Jump to navigation Jump to search

The Sun is pretty big.[1] The Moon, however, is not so big.[2]


make a graph title


Insert scatterplot {

 "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
 "data": {
   "values": [

{"HorsePower": 300, "MSRP": 31390, "Label": "Dodge Charger"}, {"HorsePower": 311, "MSRP": 43045, "Label": "Genesis G80"}, {"HorsePower": 300, "MSRP": 35175, "Label": "Nissan Maxima"}, {"HorsePower": 197, "MSRP": 28895, "Label": "Chevrolet Impala"}, {"HorsePower": 300, "MSRP": 37425, "Label": "Infinti Q50"}, {"HorsePower": 169, "MSRP": 20555, "Label": "Toyota Corolla"}, {"HorsePower": 159, "MSRP": 21605, "Label": "Honda Civic"}, {"HorsePower": 302, "MSRP": 40925, "Label": "Lexus ES"}, {"HorsePower": 192, "MSRP": 24875, "Label": "Honda Accord"}, {"HorsePower": 382, "MSRP": 41745, "Label": "BMW Series 3"}, {"HorsePower": 310, "MSRP": 55895, "Label": "Acura RLX"}, {"HorsePower": 120, "MSRP": 17350, "Label": "Hyundai Accent"}, {"HorsePower": 106, "MSRP": 17705, "Label": "Toyota Yaris"}, {"HorsePower": 180, "MSRP": 54395, "Label": "BMW Series 5"}, {"HorsePower": 444, "MSRP": 75195, "Label": "Audi RS 5"}, {"HorsePower": 255, "MSRP": 55045, "Label": "Mercedes-Benz E-class"}

   ]
 },
 "mark": "text",
 "encoding": {
   "x": {"field": "HorsePower", "type": "quantitative"},
   "y": {"field": "MSRP", "type": "quantitative"},
   "text": {"field": "Label", "type": "nominal"}
 }

}





Notes

  1. E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
  2. R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.