Marc Sandbox

From Marketing
Revision as of 20:27, 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": {"url": "data/cars.json"},
 "transform": [{
   "calculate": "datum.Origin[0]",
   "as": "OriginInitial"
 }],
 "mark": "text",
 "encoding": {
   "x": {"field": "Horsepower", "type": "quantitative"},
   "y": {"field": "Miles_per_Gallon", "type": "quantitative"},
   "color": {"field": "Origin", "type": "nominal"},
   "text": {"field": "OriginInitial", "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.