Difference between revisions of "Marc Sandbox"
Jump to navigation
Jump to search
(46 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<math>\frac{-b\pm\sqrt{b^2-4ac}}{2a}</math> | <math>\frac{-b\pm\sqrt{b^2-4ac}}{2a}</math> | ||
+ | |||
+ | <gallery> | ||
+ | Product life cycle.jpg | ||
+ | </gallery> | ||
+ | |||
+ | [[FILE:Product_life_cycle.jpg|800px]] | ||
+ | [[File:Pirates.PNG|200px|thumb|left|alt text]] | ||
+ | [[File:Pirates.PNG|800px|thumb|left|alt text]] | ||
+ | [[File:Pirates.PNG]] | ||
+ | |||
make a graph title<br> | make a graph title<br> | ||
{{Graph:Chart | {{Graph:Chart | ||
− | | width= | + | | width=1500 |
| height=400 | | height=400 | ||
− | |||
− | |||
| legend=Legend | | legend=Legend | ||
| type=rect | | type=rect | ||
− | | x= | + | | xAxisAngle = 45 |
+ | | x=Toyota Yaris,Hyundai Accent,Honda Civic,Toyota Corolla,Honda Accord,Chevrolet Impala,Mercedes-Benz E-class,Nissan Maxima,Dodge Charger,Infinti Q50,Lexus ES,Acura RLX,Gensis G80,BMW series 3,Audi RS 5,BMW Series 5, | ||
| y1=17705,17350,21605,20555,24875,28895,55045,35175,31390,37425,40925,55895,43045,41745,75195,54395 | | y1=17705,17350,21605,20555,24875,28895,55045,35175,31390,37425,40925,55895,43045,41745,75195,54395 | ||
| y2=11524.52,12455.94,24398.29,25063.59,26593.78,36274.11,40132.85,43126.7,43126.7,43126.7,43259.76,53139.68,53206.21,39234.48,62054.7,44490.78 | | y2=11524.52,12455.94,24398.29,25063.59,26593.78,36274.11,40132.85,43126.7,43126.7,43126.7,43259.76,53139.68,53206.21,39234.48,62054.7,44490.78 | ||
− | |colors=#800000aa,#80ff8000 | + | | colors=#800000aa,#80ff8000 |
− | |y1Title=MSRP | + | | y1Title=MSRP |
− | |y2Title=Expected MSRP | + | | xAxisTitle = The X axis |
+ | | y2Title=Expected MSRP | ||
+ | }} | ||
+ | |||
+ | Insert scatterplot | ||
+ | |||
+ | <Graph> | ||
+ | { | ||
+ | "$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"} | ||
+ | } | ||
+ | } | ||
+ | </Graph> | ||
+ | |||
+ | |||
+ | {{Graph:Chart | ||
+ | |width=1000 | ||
+ | |height=1000 | ||
+ | |type=line | ||
+ | |x=300, 311, 300, 197, 300, 169, 159, 302, 192, 382, 310, 120, 106, 180, 444, 255 | ||
+ | |y=31390, 43045, 35175, 28895, 37425, 20555, 21605, 40925, 24875, 41745, 55895, 17350, 17705, 54395, 75195, 55045 | ||
+ | |showSymbols=1 | ||
+ | |showValues=1 | ||
+ | |linewidth=1 | ||
+ | |yGrid= |xGrid= | ||
+ | | colors=#800000aa | ||
}} | }} | ||
− | ==Notes== | + | |
+ | |||
+ | {{Graph:Chart | ||
+ | |width=500 | ||
+ | |height=200 | ||
+ | |type=line | ||
+ | |x=15.7,10.8,68.5,33.4,23.8,42.2,27.1,38.2,13.5,74.3 | ||
+ | |y1=1517,970,4075,3819,2106,2919,2428,2164,1393,7603 | ||
+ | |showSymbols=1 | ||
+ | |linewidth=0 | ||
+ | |yGrid= |xGrid= | ||
+ | |size=8 | ||
+ | }} | ||
+ | |||
+ | |||
+ | {{Dot chart|top=Random Dots|align=left|color-1=green|color-5=blue|size=5|45|21|53|21|49|64|67|17|45|92|31|85|3|91|17|64|68|55|83|36|15|23|36|14|87|92|91|79|x labels=10,20,30,40,50,60,70,80,90,100|y labels=0,10,20,30,40,50,60,70,80,90,100}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==Notes == | ||
+ | |||
<references /> | <references /> |