Skip to content

Instantly share code, notes, and snippets.

@miguelrraposo
Last active January 15, 2025 16:03
Show Gist options
  • Select an option

  • Save miguelrraposo/0ba46af99a624dcb6a982b94923e1e82 to your computer and use it in GitHub Desktop.

Select an option

Save miguelrraposo/0ba46af99a624dcb6a982b94923e1e82 to your computer and use it in GitHub Desktop.
Runtime Revolution - Kumu project's JSON
{
"version": 1,
"name": "Company Customers",
"description": "",
"proxyImages": true,
"defaultMap": "map-qWoTjMhA",
"defaultPerspective": null,
"attributeRelevance": {},
"attributes": [
{
"_id": "attr-dWtyEUJ9",
"name": "Address",
"format": "string",
"private": false,
"limit": 1,
"category": "General",
"prompt": "list",
"locked": false,
"values": [
"Lisbon, Portugal",
"Beja, Portugal",
"Barcelona, Spain",
"California, LA",
"Paris, France",
"Moscow, Russia",
"Hong Kong, China",
"Sydney, Australia",
"Luanda, Angola",
"São Paulo, Brazil",
"Brasilia, Brazil",
"London, England",
"New York City, NY",
"Dallas, TX",
"Rome, Italy",
"Praia, Cape Verde",
"Porto, Portugal",
"Faro, Portugal",
"Miami, FL",
"Sevilla, Spain",
"Bratislava, Slovakia",
"São Miguel, Portugal",
"Oslo, Finland",
"Cordoba, Spain",
"Tokyo, Japan",
"Melbourne, Australia",
"San Francisco, CA",
"Mexico City, Mexico",
"Johannesburg, South Africa"
],
"sort": false,
"cluster": true
},
{
"_id": "attr-1MV1dqBG",
"name": "Amount",
"format": "number",
"private": false,
"limit": 1,
"category": "General",
"prompt": "list",
"locked": false,
"values": [
"10000",
"20000",
"15000",
"8000",
"4500",
"100500",
"50000",
"120000",
"500000",
"6000",
10000,
20000,
15000,
8000,
4500,
100500,
50000,
120000,
500000,
6000
],
"sort": false,
"cluster": true
},
{
"_id": "attr-3XhEckmY",
"name": "Connection Type",
"format": "string",
"private": false,
"limit": 1,
"category": "General",
"prompt": "list",
"locked": false,
"values": [
"Address",
"Addres",
"Project",
"Product"
],
"sort": false,
"cluster": false
},
{
"_id": "attr-GHX7lBgD",
"name": "Description",
"format": "text",
"private": false,
"limit": 1,
"category": "General",
"prompt": "none",
"locked": false,
"values": [],
"sort": false,
"cluster": false
},
{
"_id": "attr-6XztDF8d",
"name": "Element Type",
"format": "string",
"private": false,
"limit": 1,
"category": "General",
"prompt": "list",
"locked": false,
"values": [
"Company",
"Customer",
"Product",
"Address",
"Addres"
],
"sort": false,
"cluster": true
},
{
"_id": "attr-jCVa4NKD",
"name": "Image",
"format": "image",
"private": false,
"limit": 1,
"category": "General",
"prompt": "autocomplete",
"locked": false,
"values": [],
"sort": false,
"cluster": true
},
{
"_id": "attr-Wlz7BbnI",
"name": "Label",
"format": "string",
"private": false,
"limit": 1,
"category": "General",
"prompt": "autocomplete",
"locked": false,
"values": [],
"sort": false,
"cluster": false
},
{
"_id": "attr-HKCyG8bz",
"name": "Location",
"format": "string",
"private": false,
"limit": 1,
"category": "General",
"prompt": "list",
"locked": false,
"values": [
"Portugal",
"Spain",
"United States",
"France",
"Russia",
"China",
"Australia",
"Angola",
"Brazil",
"United Kingdom",
"Italy",
"Cape Verde",
"Slovakia",
"Finland",
"Japan",
"Mexico",
"South Africa"
],
"sort": false,
"cluster": true
},
{
"_id": "attr-yOEWVqAh",
"name": "Loop Type",
"format": "string",
"private": false,
"limit": 1,
"category": "General",
"prompt": "list",
"locked": false,
"values": [],
"sort": false,
"cluster": false
},
{
"_id": "attr-JjaULroy",
"name": "Products",
"format": "string",
"private": false,
"limit": 1,
"category": "General",
"prompt": "list",
"locked": false,
"values": [
"React",
"SAP",
"Ruby",
"Node",
"Python"
],
"sort": false,
"cluster": true
},
{
"_id": "attr-xdIAUupg",
"name": "Tags",
"format": "string",
"private": false,
"limit": "none",
"category": "General",
"prompt": "autocomplete",
"locked": false,
"values": [],
"sort": false,
"cluster": true
},
{
"_id": "attr-bUyos71p",
"name": "Total amount",
"format": "currency",
"private": false,
"limit": 1,
"category": "Metrics",
"prompt": "none",
"locked": false,
"values": [],
"sort": false,
"cluster": true
},
{
"_id": "attr-vS2cA71r",
"name": "URL",
"format": "url",
"private": false,
"limit": 1,
"category": "General",
"prompt": "none",
"locked": false,
"values": [],
"sort": false,
"cluster": true
},
{
"_id": "attr-JZFTZkkz",
"name": "metrics::last",
"format": "number",
"private": false,
"limit": 1,
"category": "Metrics",
"prompt": "autocomplete",
"locked": false,
"values": [],
"sort": false,
"cluster": true
}
],
"elements": [
{
"_id": "elem-1OH8iaQg",
"attributes": {
"label": "Ritchie, Adams and Boyer",
"location": "Portugal",
"address": "Porto, Portugal",
"element type": "Customer",
"metrics::last": 120000,
"total amount": 120000
}
},
{
"_id": "elem-29piGPOf",
"attributes": {
"label": "Mann-Lakin",
"location": "Portugal",
"address": "Beja, Portugal",
"element type": "Customer",
"metrics::last": 120000,
"total amount": 120000
}
},
{
"_id": "elem-DkUcU7YL",
"attributes": {
"label": "Rempel, Gottlieb and Robel",
"location": "France",
"address": "Paris, France",
"products": "React",
"element type": "Company",
"metrics::last": 10000,
"total amount": 10000
}
},
{
"_id": "elem-EYeSHmZ8",
"attributes": {
"label": "Spinka Group",
"location": "Australia",
"address": "Melbourne, Australia",
"element type": "Customer",
"metrics::last": 10000,
"total amount": 10000
}
},
{
"_id": "elem-FrlRLKN6",
"attributes": {
"label": "Greenfelder-Koepp",
"location": "United States",
"address": "New York City, NY",
"element type": "Customer",
"metrics::last": 500000,
"total amount": 500000
}
},
{
"_id": "elem-G50hnter",
"attributes": {
"label": "Labadie-Schultz",
"location": "United States",
"address": "Dallas, TX",
"element type": "Customer",
"metrics::last": 10500,
"total amount": 10500
}
},
{
"_id": "elem-HGChoWpB",
"attributes": {
"label": "Mayer, Fay and Simonis",
"location": "Spain",
"address": "Sevilla, Spain",
"element type": "Customer",
"metrics::last": 100500,
"total amount": 100500
}
},
{
"_id": "elem-KTLf3Bwm",
"attributes": {
"label": "Beer Group",
"location": "Russia",
"address": "Moscow, Russia",
"products": "React",
"element type": "Company",
"metrics::last": 10000,
"total amount": 10000
}
},
{
"_id": "elem-KfFg611S",
"attributes": {
"label": "Runtime Revolution",
"image": "https://s3.amazonaws.com/cloud.kumu.io/accounts/396134/823713/93e8315f-bc23-461c-b1f6-3df186614736.jpeg",
"location": "Portugal",
"address": "Lisbon, Portugal",
"products": "React",
"url": "https://www.runtime-revolution.com",
"element type": "Company",
"metrics::last": 634000,
"total amount": 634000
}
},
{
"_id": "elem-OjmsK9y1",
"attributes": {
"label": "Altenwerth-Ritchie",
"location": "South Africa",
"address": "Johannesburg, South Africa",
"element type": "Customer",
"metrics::last": 50000,
"total amount": 50000
}
},
{
"_id": "elem-Osuaw4AH",
"attributes": {
"label": "Harris PLC",
"location": "Portugal",
"address": "Faro, Portugal",
"element type": "Customer",
"metrics::last": 4500,
"total amount": 4500
}
},
{
"_id": "elem-OuqSKdaA",
"attributes": {
"label": "Stokes PLC",
"location": "Brazil",
"address": "São Paulo, Brazil",
"products": "Python",
"element type": "Company",
"metrics::last": 275000,
"total amount": 275000
}
},
{
"_id": "elem-P6epjWEd",
"attributes": {
"label": "Keeling, Prohaska and Romaguera",
"location": "United Kingdom",
"address": "London, England",
"element type": "Customer",
"metrics::last": 8000,
"total amount": 8000
}
},
{
"_id": "elem-QnbIlS33",
"attributes": {
"label": "Hamill and Sons",
"location": "China",
"address": "Hong Kong, China",
"products": "SAP",
"element type": "Company",
"metrics::last": 170000,
"total amount": 170000
}
},
{
"_id": "elem-SV6jKcUC",
"attributes": {
"label": "Ullrich-Abernathy",
"location": "Portugal",
"address": "São Miguel, Portugal",
"element type": "Customer",
"metrics::last": 15000,
"total amount": 15000
}
},
{
"_id": "elem-UhbFEJRO",
"attributes": {
"label": "Boyle-Huel",
"location": "United States",
"address": "California, LA",
"products": "Node",
"element type": "Company",
"metrics::last": 20000,
"total amount": 20000
}
},
{
"_id": "elem-UyAYSxLF",
"attributes": {
"label": "Bartell, Konopelski and Kuhn",
"location": "Spain",
"address": "Cordoba, Spain",
"element type": "Customer",
"metrics::last": 20000,
"total amount": 20000
}
},
{
"_id": "elem-V4ii4UHS",
"attributes": {
"label": "Howell, Treutel and Dickens",
"location": "Finland",
"address": "Oslo, Finland",
"element type": "Customer",
"metrics::last": 100500,
"total amount": 100500
}
},
{
"_id": "elem-XbdZybU0",
"attributes": {
"label": "West-Herman",
"location": "Brazil",
"address": "Brasilia, Brazil",
"products": "Python",
"element type": "Company",
"metrics::last": 120000,
"total amount": 120000
}
},
{
"_id": "elem-cMYmDTwY",
"attributes": {
"label": "Smitham-Gusikowski",
"location": "Angola",
"address": "Luanda, Angola",
"products": "Node",
"element type": "Company",
"metrics::last": 50000,
"total amount": 50000
}
},
{
"_id": "elem-cmJM6Zva",
"attributes": {
"label": "Gibson, Rempel and Schmeler",
"location": "Slovakia",
"address": "Bratislava, Slovakia",
"element type": "Customer",
"metrics::last": 50000,
"total amount": 50000
}
},
{
"_id": "elem-dLVIOjaD",
"attributes": {
"label": "Hackett, Hand and Mante",
"location": "Spain",
"address": "Barcelona, Spain",
"products": "Ruby",
"element type": "Company",
"metrics::last": 105000,
"total amount": 105000
}
},
{
"_id": "elem-dSNKLczI",
"attributes": {
"label": "Stroman, Casper and Wiegand",
"location": "Portugal",
"address": "Faro, Portugal",
"element type": "Customer",
"metrics::last": 50000,
"total amount": 50000
}
},
{
"_id": "elem-fWtuBelR",
"attributes": {
"label": "Kuphal Inc",
"location": "Cape Verde",
"address": "Praia, Cape Verde",
"element type": "Customer",
"metrics::last": 10000,
"total amount": 10000
}
},
{
"_id": "elem-gJo9iFOb",
"attributes": {
"label": "Gislason, Ullrich and Kohler",
"location": "Australia",
"address": "Sydney, Australia",
"products": "React",
"element type": "Company",
"metrics::last": 8000,
"total amount": 8000
}
},
{
"_id": "elem-gaV2vDKq",
"attributes": {
"label": "Emard PLC",
"location": "Japan",
"address": "Tokyo, Japan",
"element type": "Customer",
"metrics::last": 15000,
"total amount": 15000
}
},
{
"_id": "elem-iRgj0moD",
"attributes": {
"label": "Kessler PLC",
"location": "Italy",
"address": "Rome, Italy",
"element type": "Customer",
"metrics::last": 4500,
"total amount": 4500
}
},
{
"_id": "elem-lskx5GsI",
"attributes": {
"label": "Emmerich and Sons",
"location": "United States",
"address": "Miami, FL",
"element type": "Customer",
"metrics::last": 100500,
"total amount": 100500
}
},
{
"_id": "elem-lsuS3B5z",
"attributes": {
"label": "Jacobson-Effertz",
"location": "Mexico",
"address": "Mexico City, Mexico",
"element type": "Customer",
"metrics::last": 8000,
"total amount": 8000
}
},
{
"_id": "elem-xixaGsHX",
"attributes": {
"label": "Goyette-Hudson",
"location": "United States",
"address": "San Francisco, CA",
"element type": "Customer",
"metrics::last": 120000,
"total amount": 120000
}
},
{
"_id": "elem-ztqTxtdv",
"attributes": {
"label": "Dooley and Sons",
"location": "Portugal",
"address": "Beja, Portugal",
"products": "SAP",
"element type": "Company",
"metrics::last": 15000,
"total amount": 15000
}
}
],
"connections": [],
"loops": [],
"maps": [
{
"_id": "map-qWoTjMhA",
"name": "Company Projects",
"description": "",
"scale": 1,
"center": {
"x": 0,
"y": 0
},
"src": "https://docs.google.com/spreadsheets/d/1edZWy_05ztlwWrrtK4ZdCO6ZgL2jL7aTZfLVai0-5OM/edit?usp=sharing",
"defaultPerspective": "pers-C3Fq9jKr",
"defaultElementBehavior": "floating",
"defaultConnectionDirection": "directed"
}
],
"perspectives": [
{
"_id": "pers-C3Fq9jKr",
"name": "Company Projects",
"style": "@view 'Group by Company' {\n @settings {\n template: stakeholder;\n element-color: categorize(\"Element Type\", neon2);\n element-scale: scale(\"total amount\", 0.5, 2);\n include: customer, company, project-connection, loop;\n layout-preset: dense;\n }\n \n \ncompany {\n position: line(0, 0, 0, 200, auto);\n}\n \n connection {\n label: \"{{amount}}\";\n popover: \"**Products:** {{products}} **Location:** {{location}} **Amount:** {{amount}}\";\n }\n\n @controls { \n top { \n view-toggle {\n label: \"Views\";\n as: buttons;\n default: \"Group by Company\";\n } \n \n showcase {\n label: \"Highlight\";\n as: buttons;\n multiple: true;\n default: select-none;\n mode: normal;\n \n option {\n label: \"Companies\";\n selector: Company;\n }\n \n option {\n label: \"Customers\";\n selector: Customer;\n }\n }\n \n showcase {\n label: \"Project Locations\";\n target: connection;\n by: \"location\";\n as: buttons;\n placeholder: \"Location\";\n multiple: true;\n default: show-all;\n mode: direct;\n }\n } \n }\n}\n\n@view 'Group by Product' {\n element[\"element type\"=\"Product\"] {\n position: circle(0, 0, 100, auto);\n}\n\n @settings {\n cluster: \"Products\";\n include: product, company, connection;\n element-color: categorize(\"Products\", olympic);\n }\n \n /* elements: */\n product {\n scale: scale(\"degree\", 5, 10);\n color: transparent;\n popover: \"#### {{label}} ({{connections}}) {{image}}\";\n popover-padding: 3;\n shape: rectangle;\n position: circle(0, 0, 300, auto);\n }\n \n company {\n size: 20;\n }\n\n \n @controls {\n top { \n view-toggle {\n label: \"Views\";\n as: buttons;\n default: \"Group by Company\";\n } \n \n showcase {\n label: \"Products\";\n target: element;\n by: \"products\";\n as: buttons;\n multiple: true;\n default: select-none;\n mode: normal;\n }\n }\n }\n}\n\n@view 'Geographic Map' {\n @settings {\n template: geo;\n element-color: categorize(\"Element Type\", neon2);\n include: company, customer, project-connection, location-connection, loop;\n cluster: \"Address\";\n element-scale: scale(\"total amount\", 2, 5);\n geo-location: \"address\";\n geo-style: auto;\n theme: light;\n renderer: canvas;\n }\n\n @controls {\n toolbar: true;\n \n top {\n view-toggle {\n label: \"Views\";\n as: buttons;\n default: \"Group by Company\";\n }\n \n showcase {\n label: \"Highlight\";\n as: buttons;\n multiple: true;\n default: select-none;\n mode: normal;\n \n option {\n label: \"Companies\";\n selector: Company;\n }\n \n option {\n label: \"Customers\";\n selector: Customer;\n }\n }\n \n filter {\n label: \"Project Locations\";\n target: connection;\n by: \"location\";\n as: buttons;\n placeholder: \"Location\";\n multiple: true;\n default: show-all;\n mode: loose;\n } \n }\n bottom-left {\n legend: {}\n }\n }\n}\n\n@controls {\n toolbar: true;\n\n top {\n view-toggle {\n label: \"Views\";\n as: buttons;\n default: \"Group by Company\";\n }\n }\n}\n\n@settings {\n include: product, company, connection;\n cluster: \"Products\";\n}\n\ncompany {\n label: \"{{label}} {{total amount}}\";\n popover: \"{{image}} #### {{label}} {{url}} **Headquarters:** {{location}} **Total Project Amounts:** {{total amount}}\";\n popover-padding: 3;\n}\n\ncustomer {\n popover: \"{{image}} #### {{label}} **Headquarters:** {{location}} **Total Project Amounts:** {{total amount}}\";\n popover-padding: 3;\n}\n\n"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment