A Wiki in the Desert
Log in

Difference between revisions of "Guild:Good Eats"

From A Wiki in the Desert
 
(11 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
== Food Grid ==
 
== Food Grid ==
 +
 +
 
<graph>
 
<graph>
 
{
 
{
 
   "width": 800,
 
   "width": 800,
   "height": 500,
+
   "height": 800,
 
   "padding": 50,
 
   "padding": 50,
 
   "data": [
 
   "data": [
      
+
     {
        
+
       "name": "points",
   
+
      "url": "https://docs.google.com/spreadsheets/d/e/2PACX-1vT0_0qj3qt7mCL5I_7n_2knB3ryGPnjJHcGo57cLFAAS1BlomsJzvRrhP9AEfIErQsoPV99Q5owF8sw/pub?gid=265099091&single=true&output=csv",
   
+
      "format": {"type": "csv"}
 
+
     }
      
 
 
   ],
 
   ],
 
   "signals": [
 
   "signals": [
Line 89: Line 90:
 
     {
 
     {
 
       "name": "xMin",
 
       "name": "xMin",
       "init": -1.6,
+
       "init": -1000.6,
 
       "streams": [
 
       "streams": [
 
         {
 
         {
Line 103: Line 104:
 
     {
 
     {
 
       "name": "xMax",
 
       "name": "xMax",
       "init": 1.6,
+
       "init": 1000.6,
 
       "streams": [
 
       "streams": [
 
         {
 
         {
Line 117: Line 118:
 
     {
 
     {
 
       "name": "yMin",
 
       "name": "yMin",
       "init": -1,
+
       "init": -1000,
 
       "streams": [
 
       "streams": [
 
         {
 
         {
Line 131: Line 132:
 
     {
 
     {
 
       "name": "yMax",
 
       "name": "yMax",
       "init": 1,
+
       "init": 1000,
 
       "streams": [
 
       "streams": [
 
         {
 
         {
Line 145: Line 146:
 
     {
 
     {
 
       "name": "pointSize",
 
       "name": "pointSize",
       "init": 20,
+
       "init": 50,
 
       "streams": [
 
       "streams": [
 
         {
 
         {
 
           "type": "xMin",
 
           "type": "xMin",
           "expr": "clamp(60/(xMax-xMin), 1, 100)"
+
           "expr": "clamp(60/(xMax-xMin), 50, 1000)"
 
         }
 
         }
 
       ]
 
       ]
Line 202: Line 203:
 
       "marks": [
 
       "marks": [
 
         {
 
         {
           "type": "symbol",
+
           "type": "text",
 
           "from": {"data": "points"},
 
           "from": {"data": "points"},
 
           "properties": {
 
           "properties": {
 
             "update": {
 
             "update": {
               "x": {"scale": "x","field": "x"},
+
               "x": {"scale": "x","field": "X"},
               "y": {"scale": "y","field": "y"},
+
              "y": {"scale": "y","field": "Y"},
               "fill": {"value": "steelblue"},
+
              "fill": {"value": "black"},
 +
              "text": {"field": "Ingredient"},
 +
              "size": {"signal": "pointSize"}
 +
            }
 +
          }
 +
        },
 +
        {
 +
        "type": "symbol",
 +
        "from": {"data": "points"},
 +
          "properties": {
 +
            "update": {
 +
              "x": {"scale": "x","field": "X"},
 +
               "y": {"scale": "y","field": "Y"},
 +
               "fill": {"field": "Color"},
 
               "size": {"signal": "pointSize"}
 
               "size": {"signal": "pointSize"}
 
             }
 
             }
 
           }
 
           }
         }
+
         }  
 +
       
 
       ]
 
       ]
 
     }
 
     }

Latest revision as of 00:49, 19 July 2021

Welcome to Good Eats! Located just north of Bernike CS @ 2948, -913.

Food Grid