أرابيكا:مشروع المليون مقالة/توزيع الإنشاءات

من أرابيكا، الموسوعة الحرة
اذهب إلى التنقل اذهب إلى البحث
<graph> {
 "version": 2,
 "height": 90,
 "width": 90,
 "padding": "auto",
 "marks": [
   {
     "properties": {
       "enter": {
         "innerRadius": {"value": 60 },
         "stroke": {"value": "white"},
         "startAngle": {"field": "layout_start"},
         "outerRadius": {"value": 90 },
         "endAngle": {"field": "layout_end"},
         "fill": {"field": "x","scale": "color"},
       }
     },
     "from": {
       "data": "table",
       "transform": [{"field": "y","type": "pie"}]
     },
     "type": "arc"
   }
 ],
 "data": [
   {
     "name": "table", "values": [{"x":"المسجلون", "y":55232}]
   }
 ],
 "scales": [
   {
     "name": "color",
     "range": ["#196f3e"],
     "domain": {"data": "table","field": "x"},
     "type": "ordinal"
   }
 ]
} </graph>
  المسجلون: 55232

<graph>{"legends":[],"scales":[{"type":"ordinal","name":"x","zero":false,"domain":{"data":"chart","field":"x"},"points":true,"range":"width","nice":true},{"type":"linear","name":"y","domain":{"data":"chart","field":"y"},"zero":true,"range":"height","nice":true},{"domain":{"data":"chart","field":"series"},"type":"ordinal","name":"color","range":["#196f3e"]}],"version":2,"marks":[{"type":"area","properties":{"hover":{"fill":{"value":"red"}},"update":{"fill":{"scale":"color","field":"series"}},"enter":{"y":{"scale":"y","field":"y"},"interpolate":{"value":"monotone"},"y2":{"scale":"y","value":0},"x":{"scale":"x","field":"x"},"fill":{"scale":"color","field":"series"}}},"from":{"data":"chart"}}],"height":200,"axes":[{"type":"x","title":"اليوم","scale":"x","properties":{"title":{"fill":{"value":"#54595d"}},"grid":{"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"grid":false},{"type":"y","title":"عدد المقالات","scale":"y","format":"d","properties":{"title":{"fill":{"value":"#54595d"}},"grid":{"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"grid":false}],"data":[{"format":{"parse":{"y":"integer","x":"string"},"type":"json"},"name":"chart","values":[{"y":1,"series":"y1","x":"1/9"}]}],"width":450}</graph>