Login About Gallery
Scatter Products
COMMENT
Setup diameter of each dot
MATHS
2
÷
10
Options Under Construction
VARIABLES
Set variable
Diameter
to
Calculation Result
MATHS
Diameter
÷
2
Options Under Construction
VARIABLES
Set variable
HalfDiameter
to
Calculation Result
COMMENT
Setup vertical labels (years)
TEXT
2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020
TEXT
Split
Text
by
New Lines
SCRIPTING
Repeat with each item in
Y Labels
VARIABLES
Add
Repeat Index
to
Yvalues
End Repeat
COMMENT
Setup horizontal labels (products)
TEXT
iPhone iPad iPod Apple Watch
TEXT
Split
Text
by
New Lines
SCRIPTING
Repeat with each item in
X Labels
VARIABLES
Add
Repeat Index
to
Xvalues
End Repeat
COMMENT
Setup data (JSON)
TEXT
{ "2007":{"iPhone":1, "iPad":0, "iPod":3, "Apple Watch":0}, "2008":{"iPhone":1, "iPad":0, "iPod":2, "Apple Watch":0}, "2009":{"iPhone":1, "iPad":0, "iPod":3, "Apple Watch":0}, "2010":{"iPhone":1, "iPad":1, "iPod":3, "Apple Watch":0}, "2011":{"iPhone":1, "iPad":1, "iPod":0, "Apple Watch":0}, "2012":{"iPhone":1, "iPad":3, "iPod":2, "Apple Watch":0}, "2013":{"iPhone":2, "iPad":2, "iPod":0, "Apple Watch":0}, "2014":{"iPhone":2, "iPad":2, "iPod":0, "Apple Watch":0}, "2015":{"iPhone":2, "iPad":2, "iPod":1, "Apple Watch":3}, "2016":{"iPhone":3, "iPad":1, "iPod":0, "Apple Watch":5}, "2017":{"iPhone":3, "iPad":3, "iPod":0, "Apple Watch":4}, "2018":{"iPhone":3, "iPad":3, "iPod":0, "Apple Watch":3}, "2019":{"iPhone":3, "iPad":3, "iPod":0, "Apple Watch":4}, "2020":{"iPhone":1, "iPad":2, "iPod":0, "Apple Watch":0} }
SCRIPTING
Get dictionary from
Text
SCRIPTING
Repeat with each item in
Y Labels
COMMENT
Calculate for iPhone
SCRIPTING
Get
Value
for
Repeat Item
in
DataDict
SCRIPTING
Get
Value
for
iPhone
in
Dictionary Value
MATHS
Options Under Construction
MATHS
Options Under Construction
MATHS
Options Under Construction
MATHS
Calculation Result
+
HalfDiameter
Options Under Construction
SCRIPTING
VARIABLES
Add
Repeat Index
to
iPhoneY
MATHS
Repeat Index 2
-
1
Options Under Construction
MATHS
Options Under Construction
MATHS
Options Under Construction
VARIABLES
Add
Calculation Result
to
iPhoneX
End Repeat
COMMENT
Calculate for iPad
SCRIPTING
Get
Value
for
iPad
in
Dictionary Value
MATHS
Options Under Construction
MATHS
Options Under Construction
MATHS
Options Under Construction
MATHS
Calculation Result
+
HalfDiameter
Options Under Construction
SCRIPTING
VARIABLES
Add
Repeat Index
to
iPadY
MATHS
Repeat Index 2
-
1
Options Under Construction
MATHS
Options Under Construction
MATHS
Options Under Construction
VARIABLES
End Repeat
COMMENT
Calculate for iPod
SCRIPTING
Get
Value
for
iPod
in
Dictionary Value
MATHS
Options Under Construction
MATHS
Options Under Construction
MATHS
Options Under Construction
MATHS
Calculation Result
+
HalfDiameter
Options Under Construction
SCRIPTING
VARIABLES
Add
Repeat Index
to
iPodY
MATHS
Repeat Index 2
-
1
Options Under Construction
MATHS
Options Under Construction
MATHS
Options Under Construction
VARIABLES
End Repeat
COMMENT
Calculate for Apple Watch
SCRIPTING
Get
Value
for
Apple Watch
in
Dictionary Value
MATHS
Options Under Construction
MATHS
Options Under Construction
MATHS
Options Under Construction
MATHS
Calculation Result
+
HalfDiameter
Options Under Construction
SCRIPTING
VARIABLES
Add
Repeat Index
to
WatchY
MATHS
Repeat Index 2
-
1
Options Under Construction
MATHS
Options Under Construction
MATHS
Options Under Construction
VARIABLES
Add
Calculation Result
to
WatchX
End Repeat
End Repeat
Under Construction
Under Construction
Under Construction
Under Construction
Under Construction
Under Construction

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 10 days ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0