« Test » : différence entre les versions

De 21Wiki
Aucun résumé des modifications
Page blanchie
Balises : Blanchiment Révocation manuelle Éditeur de wikicode 2017
 
(118 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<graph mode="interactive">
 
{
  "$schema": "https://vega.github.io/schema/vega/v5.json",
  "width": 1200,
  "height": 1600,
  "data": [
    {
      "name": "gang",
      "values": [
{
"label": "lost",
"nom": "Lost MC",
"color": "#3F3F3F",
"creation": "2021-02-01",
"disparition": null,
"status": null
},
{
"label": "vagos",
"nom": "Vagos",
"color": "#ffff00",
"creation": "2021-02-01",
"disparition": null,
"status": null
},
{"label": "nameless","nom": "Nameless","color": "#ff7f00","creation": "2021-02-01","disparition": "2021-08-03","status": "💥"},
{
"label": "mano",
"nom": "Mano",
"color": "#000000",
"creation": "2021-05-10",
"disparition": null,
"status": null
},
{"label": "kkangpae","nom": "KkangPae","color": "#FF0000","creation": "2021-05-14","disparition": "2021-10-13","status": "👮"},
{"label": "kkangpae","nom": null,"color": "#FF0000","creation": "2021-08-30","disparition": "2021-08-30","status": "🤝"},
{"label": "verts","nom": "Verts","color": "#387238","creation": "2021-05-19","disparition": "2022-05-29","status": "❌"},
{
"label": "ballas",
"nom": "Ballas",
"color": "#783E9A",
"creation": "2021-05-26",
"disparition": null,
"status": null
},
{"label": "zetas","nom": "Zetas","color": "#928156","creation": "2021-06-18","disparition": "2021-12-23","status": "💥"},
{"label": "zetas","nom": "","color": "#777777","creation": "2021-07-22","disparition": "2021-07-22","status": "🤝"},
{"label": "nameless","nom": "Phoenix","color": "#12A3E2","creation": "2021-08-03","disparition": "2021-08-30","status": "🤝"},
{"label": "syndicat","nom": "Syndicat","color": "#2E2821","creation": "2021-09-01","disparition": "2022-02-10","status": "❌"},
{"label": "wave","nom": "Wave","color": "#224D64","creation": "2021-10-19","disparition": "2022-04-18","status": "❌"},
{
"label": "aztecas",
"nom": "Aztecas",
"color": "#AAC1CC",
"creation": "2021-10-22",
"disparition": null,
"status": null
},
{"label": "bloods","nom": "Bloods","color": "#FF0000","creation": "2022-02-05","disparition": "2022-07-12","status": "❌"},
{"label": "squadra","nom": "Squadra","color": "#f05a26","creation": "2022-02-10","disparition": "2022-07-20","status": "💥"},
{"label": "piovra","nom": "La Piovra","color": "#810d16","creation": "2022-04-14","disparition": "2023-08-05","status": "❌"},
{"label": "ghost","nom": "Ghost","color": "#999","creation": "2022-06-14","disparition": "2023-08-01","status": "❌"},
{
"label": "families",
"nom": "Families",
"color": "#03AC13",
"creation": "2022-08-24",
"disparition": null,
"status": null
},
{"label": "skorpius","nom": "Skorpius","color": "#FF8F00","creation": "2022-09-11","disparition": "2023-02-01","status": "❌"},
{"label": "drekar","nom": "Drekar","color": "#ac1e44","creation": "2022-11-13","disparition": "2023-04-19","status": "❌"},
{"label": "soa","nom": "Sons of Anarchy","color": "#000000","creation": "2022-11-16","disparition": "2023-09-07","status": "❌"},
{"label": "cercle","nom": "Cercle","color": "#d42121","creation": "2022-11-28","disparition": "2023-10-20","status": "❌"},
{"label": "cercle","nom": "Cercle","color": "#d42121","creation": "2022-11-28","disparition": "2023-08-27","status": "🤝"},
{"label": "crepuscule","nom": "Crépuscule","color": "#c79662","creation": "2023-01-10","disparition": "2023-07-08","status": "❌"},
{
"label": "madz",
"nom": "Madz",
"color": "#f95cbd",
"creation": "2023-01-20",
"disparition": null,
"status": null
},
{"label": "madz","nom": "","color": "#f95cbd","creation": "2023-02-01","disparition": "2023-02-01","status": "🤝"},
{"label": "madz","nom": "","color": "#f95cbd","creation": "2023-10-17","disparition": "2023-10-17","status": "👮"},
{"label": "neotriada","nom": "Néo Triada","color": "#82f1ff","creation": "2023-04-11","disparition": "2024-03-14","status": "❌"},
{"label": "yakuza","nom": "Yakuza - Le clan Ishikawa","color": "#c09f16","creation": "2023-05-19","disparition": "2023-09-19","status": "❌"},
{"label": "ravens","nom": "Ravens","color": "#1e2f44","creation": "2023-06-01","disparition": "2023-10-26","status": "❌"},
{"label": "orion","nom": "Outlawz","color": "#0b027d","creation": "2023-06-09","disparition": "2024-01-10","status": "❌"},
{"label": "sentinelles","nom": "Sentinelles","color": "#0b027d","creation": "2023-06-15","disparition": "2024-08-04","status": "❌"},
{"label": "hillbilies","nom": "Hillbilies","color": "#BCB49F","creation": "2023-07-14","disparition": "2024-02-19","status": "❌"},
                {
  "label": "southland",
  "nom": "Southland",
  "color": "#DA5905",
  "creation": "2023-10-02",
  "disparition": null,
  "status": null
},
{"label": "ls_bloodmoon","nom": "LS Bloodmoon","color": "#A01B20","creation": "2023-10-22","disparition": "2024-02-21","status": "❌"},
                {"label": "judgment_day","nom": "Judgement'Day","color": "#601220","creation": "2023-11-15","disparition": "2024-06-19","status": "❌" },
                {"label": "affranchis","nom": "Affranchis","color": "#dedede","creation": "2024-01-15","disparition": "2024-06-28","status": "❌"},
                {
  "label": "skulls",
  "nom": "Skulls",
  "color": "#FF0000",
  "creation": "2024-01-20",
  "disparition": null,
  "status": null
},
                {"label": "crimson","nom": "Crimson","color": "#332111","creation": "2024-02-27","disparition": "2024-04-17","status": "❌"},
                {
                  "label": "meute",
  "nom": "Meute",
  "color": "#777777",
  "creation": "2024-04-03",
  "disparition": null,
  "status": null
                },
                {
                  "label": "medusa",
  "nom": "Médusa",
  "color": "#444444",
  "creation": "2024-04-25",
  "disparition": null,
  "status": null
                },
                {"label": "brotherhood","nom": "Brotherhood","color": "#FFE4B5","creation": "2024-05-21","disparition": "2024-11-27","status": "❌"},
                {
                  "label": "hot wheels",
  "nom": "Hot Wheels",
  "color": "#FA0055",
  "creation": "2024-07-11",
  "disparition": null,
  "status": null
                },
                {
                  "label": "templiers",
  "nom": "Templiers",
  "color": "#F00",
  "creation": "2024-10-16",
  "disparition": null,
  "status": null
                }
      ],
      "transform": [
        {
          "type": "formula",
          "as": "gang_end",
          "expr": "datum.gang_end ? datum.gang_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {"parse": {"gang_start": "date", "gang_end": "date"}}
    },
    {
      "name": "drogue",
      "values": [
{"label": "hannah_green","second_start": "2024-10-24","second_end": null}
      ],
      "transform": [
        {
          "type": "formula",
          "as": "drogue_end",
          "expr": "datum.drogue_end ? datum.drogue_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {"parse": {"drogue_start": "date", "drogue_end": "date"}}
    },
    {
      "name": "recel",
      "values": [
{"label": "marius_teller","chef_start": "2024-10-24","chef_end": null}
      ],
      "transform": [
        {
          "type": "formula",
          "as": "recel_end",
          "expr": "datum.recel_end ? datum.recel_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {"parse": {"recel_start": "date", "recel_end": "date"}}
    },
    {
      "name": "armes",
      "values": [
{"label": "marius_teller","chef_start": "2024-10-24","chef_end": null}
      ],
      "transform": [
        {
          "type": "formula",
          "as": "armes_end",
          "expr": "datum.armes_end ? datum.armes_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {"parse": {"armes_start": "date", "armes_end": "date"}}
    },
    {
      "name": "vol",
      "values": [
{"label": "marius_teller","chef_start": "2024-10-24","chef_end": null}
      ],
      "transform": [
        {
          "type": "formula",
          "as": "vol_end",
          "expr": "datum.vol_end ? datum.vol_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {"parse": {"vol_start": "date", "vol_end": "date"}}
    },
    {
      "name": "cartel",
      "values": [
{"label": "marius_teller","chef_start": "2024-10-24","chef_end": null}
      ],
      "transform": [
        {
          "type": "formula",
          "as": "cartel_end",
          "expr": "datum.cartel_end ? datum.cartel_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {"parse": {"cartel_start": "date", "cartel_end": "date"}}
    },
    {
      "name": "patriot",
      "values": [
{"label": "marius_teller","chef_start": "2024-10-24","chef_end": null}
      ],
      "transform": [
        {
          "type": "formula",
          "as": "patriot_end",
          "expr": "datum.patriot_end ? datum.patriot_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {"parse": {"patriot_start": "date", "patriot_end": "date"}}
    },
    {
      "name": "events",
      "values": [
                {"name": "24/10 - Création du groupe","date": "2024-10-24","y": -20}
      ],
      "format": {"parse": {"date": "date"}}
    },
    {
      "name": "annee",
      "values": [
                {"name": "2025","date": "2025-01-01"}
      ],
      "format": {"parse": {"date": "date"}}
    }
  ],
  "scales": [
    {
      "name": "x",
      "type": "time",
      "range": "width",
      "domain": {
        "data": "membres",
        "fields": ["membre_start", "membre_end"]
      }
    },
    {
      "name": "y",
      "type": "band",
      "range": "height",
      "domain": {"data": "membres", "field": "label"},
      "padding": 0.2
    }
  ],
  "axes": [
    {"orient": "bottom", "scale": "x", "grid": true, "format": "%m/%y"}
  ],
  "marks": [
    {
      "type": "rect",
      "from": {"data": "seconds"},
      "encode": {
        "enter": {
          "x": {"scale": "x", "field": "second_start"},
          "x2": {"scale": "x", "field": "second_end"},
          "y": {"scale": "y", "field": "label", "offset": -3},
          "height": {"value": 10},
          "fill": {"value": "#999"}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "chefs"},
      "encode": {
        "enter": {
          "x": {"scale": "x", "field": "chef_start"},
          "x2": {"scale": "x", "field": "chef_end"},
          "y": {"scale": "y", "field": "label", "offset": -3},
          "height": {"value": 10},
          "fill": {"value": "#000"}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "membres"},
      "encode": {
        "enter": {
          "x": {"scale": "x", "field": "membre_start"},
          "x2": {"scale": "x", "field": "membre_end"},
          "y": {"scale": "y", "field": "label"},
          "height": {"value": 4},
          "fill": {"value": "#782E1F"}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "events"},
      "encode": {
        "enter": {
          "x": {"scale": "x", "field": "date"},
          "y": {"field": "y"},
          "width": {"value": 0.5},
          "height": {"value": 500},
          "fill": {"value": "#0090FF"}
        }
      }
    },
    {
      "type": "text",
      "from": {"data": "events"},
      "encode": {
        "enter": {
          "x": {"scale": "x", "field": "date"},
          "y": {"field": "y"},
          "angle": {"value": -30},
          "text": {"field": "name"},
          "fill": {"value": "#000"},
          "fontSize": {"value": 14}
        }
      }
    },
  {
      "type": "rect",
      "from": {"data": "annee"},
      "encode": {
        "enter": {
          "x": {"scale": "x", "field": "date"},
          "y": {"field": "y"},
          "width": {"value": 0.5},
          "height": {"value": 500},
          "fill": {"value": "#FF0000"}
        }
      }
    },
    {
      "type": "text",
      "from": {"data": "annee"},
      "encode": {
        "enter": {
          "x": {"scale": "x", "field": "date"},
          "y": {"field": "y"},
          "angle": {"value": -30},
          "text": {"field": "name"},
          "fill": {"value": "#FF0000"},
          "fontSize": {"value": 20}
        }
      }
    },
    {
      "type": "text",
      "from": {"data": "membres"},
      "encode": {
        "enter": {
          "x": {"scale": "x", "field": "membre_start"},
          "y": {"scale": "y", "field": "label", "offset": -7},
          "text": {"field": "nom"},
          "fill": {"value": "#000"},
          "fontSize": {"value": 14}
        }
      }
    },
    {
      "type": "text",
      "from": {"data": "membres"},
      "encode": {
        "enter": {
          "x": {"scale": "x", "field": "membre_end", "offset": -2},
          "y": {"scale": "y", "field": "label", "offset": 6},
          "text": {"field": "status"},
          "fill": {"value": "#000"},
          "fontSize": {"value": 14}
        }
      }
    }
  ]
}
</graph>

Dernière version du 1 février 2026 à 14:40