A Wiki in the Desert
Log in

Difference between revisions of "Guild:Good Eats"

From A Wiki in the Desert
Line 4: Line 4:
 
<graph>
 
<graph>
 
{
 
{
   "width": 800,
+
   "width": 1200,
   "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 88:
 
     {
 
     {
 
       "name": "xMin",
 
       "name": "xMin",
       "init": -1.6,
+
       "init": -1000.6,
 
       "streams": [
 
       "streams": [
 
         {
 
         {
Line 103: Line 102:
 
     {
 
     {
 
       "name": "xMax",
 
       "name": "xMax",
       "init": 1.6,
+
       "init": 1000.6,
 
       "streams": [
 
       "streams": [
 
         {
 
         {
Line 117: Line 116:
 
     {
 
     {
 
       "name": "yMin",
 
       "name": "yMin",
       "init": -1,
+
       "init": -1000,
 
       "streams": [
 
       "streams": [
 
         {
 
         {
Line 131: Line 130:
 
     {
 
     {
 
       "name": "yMax",
 
       "name": "yMax",
       "init": 1,
+
       "init": 1000,
 
       "streams": [
 
       "streams": [
 
         {
 
         {
Line 145: Line 144:
 
     {
 
     {
 
       "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 201:
 
       "marks": [
 
       "marks": [
 
         {
 
         {
           "type": "symbol",
+
           "type": "text",
 
           "from": {"data": "points"},
 
           "from": {"data": "points"},
 
           "properties": {
 
           "properties": {
Line 209: Line 208:
 
               "y": {"scale": "y","field": "Y"},
 
               "y": {"scale": "y","field": "Y"},
 
               "fill": {"value": "steelblue"},
 
               "fill": {"value": "steelblue"},
 +
              "text": {"field": "Ingredient"},
 
               "size": {"signal": "pointSize"}
 
               "size": {"signal": "pointSize"}
 
             }
 
             }
Line 218: Line 218:
 
}
 
}
 
</graph>
 
</graph>
 +
 
== Testing ==
 
== Testing ==
  

Revision as of 00:53, 11 June 2021

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

Food Grid

Testing