Skip to content

Instantly share code, notes, and snippets.

@WeikerWT
Last active June 26, 2018 21:16
Show Gist options
  • Save WeikerWT/2c6e2dbe668588f4b4ecd656cf23d8bb to your computer and use it in GitHub Desktop.
Save WeikerWT/2c6e2dbe668588f4b4ecd656cf23d8bb to your computer and use it in GitHub Desktop.
Pipeline Sunburst Current
license: mit
{
"name": "Pipeline",
"children": [
{
"name": "Data Management",
"children": [
{
"name": "Coca-Cola (Icecek)",
"children": [
{"name": "Qualified Lead", "size": 0},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 1},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Coca-Cola (Euro)",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 1},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Keurig Green Mtn",
"children": [
{"name": "Qualified Lead", "size": 1},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Microsoft",
"children": [
{
"name": "AIG",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 1},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Fresenius",
"children": [
{"name": "Qualified Lead", "size": 1},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Freddie Mac",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Parkview Health",
"children": [
{"name": "Qualified Lead", "size": 1},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Cintas",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Panama Canal",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 1},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Fidelity",
"children": [
{"name": "Qualified Lead", "size": 0},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "AutoNation",
"children": [
{"name": "Qualified Lead", "size": 1},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Becton Dickinson",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Tenneco",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "United Airlines",
"children": [
{"name": "Qualified Lead", "size": 1},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Cummins",
"children": [
{"name": "Qualified Lead", "size": 1},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Energy Transfer",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 1},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Economical Insurance",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Fiedlity",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Huntington",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "KEMET",
"children": [
{"name": "Qualified Lead", "size": 0},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Kizan",
"children": [
{"name": "Qualified Lead", "size": 1},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Nationwide",
"children": [
{"name": "Qualified Lead", "size": 0},
{ "name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 1},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Kingfisher",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 1},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Sanofi Pasteur",
"children": [
{"name": "Qualified Lead", "size": 1},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Putnam",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "TMobile",
"children": [
{"name": "Qualified Lead", "size": 1},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Travellers",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Wendy's",
"children": [
{"name": "Qualified Lead", "size": 1},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "PLACEHOLDER",
"children": [
{"name": "PLACEHOLDER", "size": 0}
]
},
{
"name": "Workplace",
"children": [
{
"name": "AstraZeneca",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 1}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "YUM!",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 1},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Amadeus",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Absa Bank",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Ageas",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 1},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Campbell Soup",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "CIBC",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Coke",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 1},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Eurocash",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Farmer's Insurance",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 1},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "GEMS",
"children": [
{"name": "Qualified Lead", "size": 1},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Hyperion",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "GSK",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 1},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "KRD",
"children": [
{"name": "Qualified Lead", "size": 1},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Magellan",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 1},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Northwell",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 1},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Origin Energy",
"children": [
{"name": "Qualified Lead", "size": 1},
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "RBS",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 1},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "Oxfam",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 0},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 1}
]
}
]
}
]
}
]
}
]
}
]
},
{
"name": "VWFS",
"children": [
{
"name": "Qualified Lead",
"children": [
{"name": "Opportunity Created", "size": 1},
{
"name": "Opportunity Created",
"children": [
{"name": "Solution Proposed", "size": 0},
{
"name": "Solution Proposed",
"children": [
{"name": "POC", "size": 0},
{
"name": "POC",
"children": [
{"name": "Legal/IT", "size": 0},
{
"name": "Legal/IT",
"children": [
{"name": "Closed - Won", "size": 0}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
<!DOCTYPE html>
<meta charset="utf-8">
<style>
path {
stroke: #ffffff;
}
</style>
<body>
<script src="//d3js.org/d3.v3.min.js"></script>
<script>
var width = 960,
height = 700,
radius = (Math.min(width, height) / 2) - 10;
var formatNumber = d3.format(",d");
var x = d3.scale.linear()
.range([0, 2 * Math.PI]);
var y = d3.scale.sqrt()
.range([0, radius]);
var color = d3.scale.category20c();
var partition = d3.layout.partition()
.value(function(d) { return d.size; });
var arc = d3.svg.arc()
.startAngle(function(d) { return Math.max(0, Math.min(2 * Math.PI, x(d.x))); })
.endAngle(function(d) { return Math.max(0, Math.min(2 * Math.PI, x(d.x + d.dx))); })
.innerRadius(function(d) { return Math.max(0, y(d.y)); })
.outerRadius(function(d) { return Math.max(0, y(d.y + d.dy)); });
var svg = d3.select("body").append("svg")
.attr("width", width)
.attr("height", height)
.append("g")
.attr("transform", "translate(" + width / 2 + "," + (height / 2) + ")");
d3.json("flare.json", function(error, root) {
if (error) throw error;
svg.selectAll("path")
.data(partition.nodes(root))
.enter().append("path")
.attr("d", arc)
.style("fill", function(d) { return color((d.children ? d : d.parent).name); })
.on("click", click)
.append("title")
.text(function(d) { return d.name + "\n" + formatNumber(d.value); });
});
function click(d) {
svg.transition()
.duration(750)
.tween("scale", function() {
var xd = d3.interpolate(x.domain(), [d.x, d.x + d.dx]),
yd = d3.interpolate(y.domain(), [d.y, 1]),
yr = d3.interpolate(y.range(), [d.y ? 20 : 0, radius]);
return function(t) { x.domain(xd(t)); y.domain(yd(t)).range(yr(t)); };
})
.selectAll("path")
.attrTween("d", function(d) { return function() { return arc(d); }; });
}
d3.select(self.frameElement).style("height", height + "px");
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment