D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
DAVINDERYADAVRJIT
Full window
Github gist
CAR_PAR_JAR_Collapse_Dendo
Built with
blockbuilder.org
<!DOCTYPE html> <meta charset="UTF-8"> <style> .node circle { fill: #fff; stroke: steelblue; stroke-width: 1.5px; } .node text { font: 10px sans-serif; } .link { fill: none; stroke: #ccc; stroke-width: 1.5px; } </style> <body> <!-- load the d3.js library --> <script src="https://d3js.org/d3.v4.min.js"></script> <script> var treeData = {"name":" ANALYTICAL RECORDS", "children" :[ {"name":"CAR", "children" :[ { "name": "B2B", "children" : [ { "name": "CUSTOMER PROFILE", "children" : [ { "name": "RAW", "children" : [ {"name": "CUSTOMER DUNS NUMBER", "size": 2500}, {"name": "CUSTOMER NAME ", "size": 2500}, {"name": "FORTUNE 500", "size": 2500}, {"name": "BUSINESS SEGMENT", "size": 2500}, {"name": "HQ LOCATION", "size": 2500}, {"name": "EMAIL ID", "size": 2500}, {"name": "ZIP CD", "size": 2500}, {"name": "ORGANIZATION EST. DATE", "size": 2500}, {"name": "ORGANIZATION SUBSIDIARIES ", "size": 2500} ] }, { "name": "DERIVED", "children" : [ {"name": "FLAG FOR TYPE OF BUSINESS SEGMENT - PUBLIC SECTOR, ENTERPRISE, ETC", "size": 3534}, {"name": "FLAG IF ACCOUNT ON A STATE DO NOT CALL LIST", "size": 3534}, {"name": "PERCENTAGE OF ACCOUNTS THAT ARE IN BUSINESS SEGMENTS EX BZSEG1,BZSEG2", "size": 2500}, {"name": "TOTAL NUMBER OF YEARS SINCE ESTABLISHMENT", "size": 2500}, {"name": "PERCENTAGE OF ACQUISITION MADE IN LAST N YEARS", "size": 2500} ] } ] }, { "name": "CONTRACT", "children" : [ { "name": "RAW", "children" : [ {"name":"TYPE OF CONTRACT", "size": 2500}, {"name":"CONTRACT EXPIRATION DATE", "size": 2500}, {"name":"CONTRACT START DATE", "size": 2500}, {"name":"CONTRACT FLAG", "size": 2500} ] }, { "name": "DERIVED", "children" : [ {"name":"NUMBER OF MONTHS UNTIL CONTRACT EXPIRATION", "size": 2500}, {"name": "TOTAL # OF CONTRACTS OPEN IN LAST N MONTHS", "size": 3534}, {"name": "TOTAL # OF CONTRACTS CLOSED IN LAST N MONTHS", "size": 3534}, {"name": "TOTAL # OF DAYS SINCE IN AN ACTIVE CONTRACT", "size": 2500}, {"name": "TOTAL # OF MONTHS SINCE IN AN ACTIVE CONTRACT", "size": 2500} ] } ] }, {"name":"CUSTOMER INTERACTION & CHANNEL", "children":[ {"name":"CHANNEL", "children":[ {"name":"RAW", "children":[ {"name":"PREFERRED ADVERTISING CHANNEL","size":2500}, {"name":"PREFERRED CONTACT CHANNEL","size":2500}, {"name":"PREFERRED CUSTOMER SERVICE CHANNEL","size":2500}, {"name":"CUSTOMERS PREFERRED LANGUAGE OF COMMUNICATION","size":2500}, {"name":"PREFERRED PURCHASE CHANNEL","size":2500} ] }, {"name":"DERIVED", "children":[ {"name":"CHANGE IN PREFERRED ADVERTISING CHANNEL IN LAST N MONTHS","size":2500}, {"name":"CHANGE IN PREFERRED CONTACT CHANNEL IN LAST N MONTHS","size":2500}, {"name":"CHANGE IN PREFERRED CUSTOMER SERVICE CHANNEL IN LAST N MONTHS","size":2500}, {"name":"CHANGE IN PREFERRED LANGUAGE OF COMMUNICATION IN LAST N MONTHS","size":2500}, {"name":"CHANGE IN PREFERRED PURCHASE CHANNEL IN LAST N MONTHS","size":2500} ] } ] }, {"name":"CAMPAIGN", "children":[ {"name":"RAW", "children":[ {"name":"UNIQUE CAMPAIGN IDENTIFIER (CODE)","size":2500}, {"name":"CAMPAIGN CONTACT DATE","size":2500}, {"name":"LAST CONTACT DATE","size":2500}, {"name":"CAMPAIGN CHANNEL","size":2500}, {"name":"CAMPAIGN RESPONSE ","size":2500}, {"name":"CAMPAIGN TYPE","size":2500}, {"name":"OFFER COST","size":2500} ] }, {"name":"DERIVED", "children":[ {"name":"NUMBER OF DAYS SINCE LAST MAIL CONTACT/ SMS CONTACT/ CALL CENTRE CONTACT","size":2500}, {"name":"NUMBER OF CAMPAIGNS (VIA EMAIL/ SMS/ CALL CENTRE) RESPONDED IN LAST N MONTHS ","size":2500}, {"name":"NUMBER OF CAMPAIGNS (VIA EMAIL/ SMS/ CALL CENTRE) ACCEPTED IN LAST N MONTHS","size":2500}, {"name":"NUMBER OF CAMPAIGNS (VIA EMAIL/ SMS/ CALL CENTRE) REJECTED IN LAST N MONTHS","size":2500}, {"name":"RETURN ON MARKETING INVESTMENT","size":2500}, {"name":"OPT OUT RATE","size":2500} ] } ] }, {"name":"SERVICE TICKETS", "children":[ {"name":"RAW", "children":[ {"name":"START DATE FOR CALLS MADE TO AGENTS ","size":2500}, {"name":"END DATE FOR CALLS MADE TO AGENTS","size":2500}, {"name":"NUMBER OF TICKETS CLOSED IN CURRENT MONTH","size":2500}, {"name":"SERVICE REQUEST STATUS","size":2500}, {"name":"NO OF TICKETS RAISED ","size":2500}, {"name":"COMPLAINT TYPE EG. NETWORK, BATTERY, ","size":2500}, {"name":"SERVICE REQUEST PRIORITY EG, HIGH/MEDIUM/LOW","size":2500}, {"name":"TOTAL MINUTES ON PHONE W/ADVOCATE FOR CHANGE IN SEVICES/ PLAN","size":2500}, {"name":"TOTAL WAIT TIME (QUEUE + HOLD TIME) FOR CHANGE IN SERVICES/ PLAN","size":2500} ] }, {"name":"DERIVED", "children":[ {"name":"TOTAL # OF CALLS MADE TO AGENTS IN LAST N MONTHS","size":2500}, {"name":"TOTAL # OF RESOLVED CALLS IN LAST N MONTHS","size":2500}, {"name":"TOTAL # OF UNRESOLVED CALLS IN LAST N MONTHS","size":2500}, {"name":"TOTAL # OF REPEAT CALLS IN LAST N MONTHS","size":2500}, {"name":"AVERAGE NO OF COMPLAINTS OF UNIQUE TYPES IN LAST N MONTHS","size":2500}, {"name":"AVERAGE NO OF INTERACTIONS IN THE LAST N MONTHS WITH SERVICE RESULT=OPEN/RESOLVED/REJECTED/ESCALATED","size":2500}, {"name":"AVG HOURS TAKEN TO RESOLVE EACH SERVICE REQUEST IN LAST N MONTHS","size":2500}, {"name":"COST PER TICKET","size":2500} ] } ] }, {"name":"IVR/SAVE DESK", "children":[ {"name":"RAW", "children":[ {"name":"START DATE FOR CALLS MADE TO AGENTS FOR BILLING RELATED QUESTIONS","size":2500}, {"name":"END DATE FOR CALLS MADE TO AGENTS FOR BILLING RELATED QUESTIONS","size":2500}, {"name":"# CALLS MADE TO CARE","size":2500}, {"name":"TOTAL CALL MINUTES TO AGENTS FOR IN CURRENT MONTH","size":2500}, {"name":"UNRESOLVED CALLS MADE TO AGENTS FOR IN CURRENT MONTH","size":2500}, {"name":"NUMBER OF CALLS TO SAVEDESK","size":2500}, {"name":"CONTACT DATE","size":2500}, {"name":"INTERACTION CATEGORY LIKE BILLING, PLAN ETC","size":2500}, {"name":"# OF ABANDONED CALLS","size":2500}, {"name":"# OF MINUTES ON PHONE W/IVR IN CUSTOMER CARE ","size":2500} ] }, {"name":"DERIVED", "children":[ {"name":"TOTAL # OF CALLS MADE TO AGENTS FOR BILLING RELATED QUESTIONS IN LAST N MONTHS","size":2500}, {"name":"TOTAL # OF RESOLVED CALLS MADE TO AGENTS IN LAST N MONTHS","size":2500}, {"name":"TOTAL CALL MINUTES TO AGENTS IN LAST N MONTHS","size":2500}, {"name":"UNRESOLVED CALLS MADE TO AGENTS IN LAST N MONTHS","size":2500}, {"name":"NUMBER OF CALLS TO SAVEDESK IN LAST N MONTHS","size":2500}, {"name":"AVERAGE NO. OF THE INTERACTIONS IN THE LAST N MONTHS WITH OFFERING RESULT=ACCEPTED/ DECLINED","size":2500} ] }]}]}, { "name": "SURVEY", "children" : [ { "name": "RAW", "children" : [ {"name": "CUSTOMER RATING FOR SATISFACTION SURVEY IN CURRENT MONTH", "size": 2500}, {"name": "CARE SURVEY SENT FLAG IN CURRENT MONTH", "size": 2500}, {"name": "PULSE SURVEY SENT FLAG IN CURRENT MONTH", "size": 2500}, {"name": "TOTAL NUMBER OF CARE SURVEY SENT IN CURRENT MONTH", "size": 2500}, {"name": "TOTAL NUMBER OF PULSE SURVEY SENT IN CURRENT MONTH", "size": 2500} ] }, { "name": "DERIVED", "children" : [ {"name": "CUSTOMER SATISFACTION SHORT TERM INDEX", "size": 3534}, {"name": "TOTAL NO. OF PULSE SURVEYS SENT IN LAST N MONTHS", "size": 2500}, {"name": "TOTAL NO. OF CARE SURVEYS SENT IN LAST N MONTHS", "size": 2500}, {"name": "PERCENTAGE OF CARE SURVEYS RATE MOVED FROM DETRACTOR TO NEUTRAL", "size": 2500}, {"name": "PERCENTAGE OF CARE SURVEYS RATE MOVED FROM NEUTRAL TO PROMOTER", "size": 2500}, {"name": "PERCENTAGE OF PULSE SURVEYS RATE MOVED FROM DETRACTOR TO NEUTRAL", "size": 2500}, {"name": "PERCENTAGE OF PULSE SURVEYS RATE MOVED FROM NEUTRAL TO PROMOTER", "size": 2500}, {"name": "TOTAL NO. OF PULSE SURVEYS SENT IN LAST N MONTHS", "size": 2500} ] } ] }, { "name": "REVENUE", "children" : [ { "name": "RAW", "children" : [ {"name":"TOTAL CUSTOMER MONTHLY RECURRING CHARGE","size":2500}, {"name":"PRODUCT LEVEL MONTHLY RECURRING CHARGE (EG. INTERNET,VOICE,ETC)","size":2500}, {"name":"TOTAL CUSTOMER MONTHLY NON RECURRING CHARGE","size":2500}, {"name":"TOTAL POTENTIAL VALUE","size":2500}, {"name":"PRODUCT LEVEL MONTHLY NON RECURRING CHARGE","size":2500} ] }, { "name": "DERIVED", "children" : [ {"name":"AVERAGE CUSTOMER MONTHLY RECURRING CHARGE IN LAST N MONTHS","size":2500}, {"name":"PRODUCT LEVEL AVERAGE RECURRING CHARGE (EG. INTERNET,VOICE,ETC) IN LAST N MONTHS","size":2500}, {"name":"AVERGAE CUSTOMER MONTHLY NON RECURRING CHARGE IN LAST N MONTHS","size":2500}, {"name":"AVERAGE POTENTIAL VALUE IN LAST N MONTHS","size":2500} ] } ] }, { "name": "SALES & OPPORTUNITIES", "children" : [ { "name": "RAW", "children" : [ {"name":"SALES FLAG - Y,N"," size":2500}, {" name":"SALES CONTINENT - US,CANADA,ETC"," size":2500}, {" name":"OPPORTUNITY STATUS BY PRODUCTS - WON.LOSS.ETC"," size":2500}, {" name":"PRODUCT LEVEL SALES FLAG"," size":2500} ] }, { "name": "DERIVED", "children" : [ {"name":"COUNT OF PRODUCTS SOLD IN LAST N MONTHS","size":2500}, {"name":"FLAG FOR OPPORTUNITY STATUS CHANGED AS WIN","size":2500}, {"name":"TOTAL UPGRADE/DOWNGRADE OPPORTUNITIES CREATED FOR A CUSTOMER IN CURRENT MONTH","size":2500}, {"name":"NUMBER OF NEW OPPORTUNITIES LOST IN LAST N MONTHS","size":2500}, {"name":"NUMBER OF NEW OPPORTUNITIES WON IN LAST N MONTHS","size":2500}, {"name": "COUNT OF ORDERS WITH STATUS='CANCELLED' IN LAST N MONTHS", "size": 2500}, {"name": "COUNT OF ORDERS WITH STATUS='INSTALLED' IN LAST N MONTHS", "size": 2500}, {"name": "COUNT OF ORDERS WITH CONTINENT='AMERICA' IN LAST N MONTHS", "size": 2500}, {"name": "COUNT OF ORDERS WITH CONTINENT='AFRICA' IN LAST N MONTHS", "size": 2500} ] } ] }, { "name": "3RD PARTY DATA", "children" : [ { "name": "FIRMOGRAPHICS", "children" : [ { "name": "RAW", "children" : [ {"name": "CUSTOMER 8 DIGIT SIC CODE ", "size": 2500}, {"name": "TOTAL # OF EMPLOYEES", "size": 2500}, {"name": "TOTAL # UNIQUE EMAIL TIED TO DOMAIN", "size": 2500}, {"name": "LINE OF BUSINESS", "size": 2500}, {"name": "MANUFACTURING INDICATOR", "size": 2500}, {"name": "YEAR COMPANY FOUNDED", "size": 2500} ] }, { "name": "DERIVED", "children" : [ {"name": "TOTAL # OF EMPLOYEES IN LAST 6 MONTHS", "size": 3534}, {"name": "TOTAL # UNIQUE EMAIL TIED TO DOMAIN IN LAST 12 MONTHS", "size": 2500}, {"name": "ADDING NEW LOCATION IN LAST N MONTHS", "size": 2500} ] } ] }, { "name": "SOCIAL MEDIA", "children" : [ {"name": "FACEBOOK ACCOUNT ID", "size": 2500}, {"name": "TWITTER ACCOUNT ID", "size": 2500}, {"name": "FOURSQUARE PROFILE ID", "size": 2500}, {"name": "YELP PROFILE ID", "size": 2500}, {"name": "GROUPON PROFILE ID", "size": 2500}, {"name": "LINKEDIN PROFILE ID", "size": 2500} ] }, { "name": "GEO-LOCATION", "children" : [ {"name": "BILLSITE LOCATIONS", "size": 2500}, {"name": "PRIMARY CUSTOMER STATE", "size": 2500}, {"name": "PRIMARY CUSTOMER CITY", "size": 2500}, {"name": "PRIMARY ZIP CODE", "size": 2500}, {"name": "LONGITUDE", "size": 2500}, {"name": "LATITUDE", "size": 2500} ] }, { "name": "CONTENT SEARCH", "children" : [ {"name": "TOTAL # OF WEBCAST REGISTRATION", "size": 2500}, {"name": "TOTAL # OF NEW EMAIL OPEN/CLICK", "size": 2500}, {"name": "TOTAL # OF COMPETITOR CONTENT READ", "size": 2500}, {"name": "TOTAL # OF COMPETITOR CONTENT DOWNLOADED", "size": 2500} ] }, { "name": "EVENT AND TRIGGERS", "children" : [ {"name": "TOTAL # OF HIRING EVENTS ORGANISED", "size": 2500}, {"name": "TOTAL # OF HACKATHON EVENTS ORGANISED", "size": 2500}, {"name": "TOTAL # OF NEW IMPORT CATEGORIES ADDED", "size": 2500}, {"name": "TOTAL # OF NEW EXPORT CATEGORIES ADDED", "size": 2500}, {"name": "TOTAL MARKETING SPEND ", "size": 2500} ] }, { "name": "TECHNOLOGY STACK AND SPEND", "children" : [ {"name": "IT SPEND ON CLOUD SERVICES INSTALLATION", "size": 2500}, {"name": "TOTAL AMOUNT SPENT ON NEW DEVICE PURCHASE", "size": 2500}, {"name": "TOTAL AMOUNT SPENT ON NEW TOOLS PURCHASE", "size": 2500}, {"name": "TOTAL AMOUNT SPENT ON BUYING A PATENT", "size": 2500} ] } ] }, { "name": "MODEL SCORES", "children" : [ {"name":"MODEL SCORE FOR CHURN PROPENSITY","size":2500}, {"name":"MODEL SCORE PROPENSITY TO BUY A SPECIFIC PRODUCT (UPSELL,CROSS SELL,ETC)","size":2500}, {"name":"MODEL SCORE FOR UPGRADE PROPENSITY","size":2500}, {"name":"MODEL SCORE FOR CUSTOMER LIFE TIME VALUE","size":2500}, {"name":"MODEL SCORE FOR RESPONSE TO CAMPAIGN","size":2500}, {"name":"SEGMENT ASSIGNMENT FROM VALUE,NEED OR BEHAVIOUR SEGMENTATION","size":2500} ] } ] }, { "name": "B2C", "children" : [ { "name": "CUSTOMER PROFILE", "children" : [ { "name": "RAW", "children" : [ {"name":"SUBSCRIBER UNIQUE NUMBER","size":2500}, {"name":"ACCOUNT NUMBER","size":2500}, {"name":"INITIAL SERVICE PROVIDER","size":2500}, {"name":"PORT COMPLETION DATE","size":2500}, {"name":"BILLING SYSTEM","size":2500}, {"name":"BILLING LANGUAGE PREFERENCE","size":2500}, {"name":"ACTIVE/INACTIVE","size":2500}, {"name":"EARLIEST SERVICE START DATE ASSIGNED TO THE SUBSCRIBER","size":2500}, {"name":"LATEST SERVICE EXPIRATION DATE ASSIGNED TO THE SUBSCRIBER","size":2500}, {"name":"REGISTERED FOR DND","size":2500} ] }, { "name": "DERIVED", "children" : [ {"name":"SUBSCRIBER TENURE IN DAYS OR MONTHS","size":2500}, {"name":"INDICATOR FLAG: SUBSCRIBER PORTED OUT/PORTED IN","size":2500}, {"name":"NUMBER OF ACTIVE SUBSCRIBERS UNDER THE ACCOUNT","size":2500}, {"name":"PERCENT OF SUBS ON ACCOUNT THAT ARE ON AT LEAST ONE OF THE DO NOT CONTACT LISTS","size":2500}, {"name":"INDICATOR FOR PROMOTIONAL SERVICE OPT OUT ","size":2500}, {"name":"INDICATOR IF CUSTOMER IS AN EMPLOYEE","size":2500} ] } ] }, { "name": "DEVICE & PRODUCTS", "children" : [ { "name": "RAW", "children" : [ {"name":"CURRENT DEVICE SKU NUMBER","size":2500}, {"name":"CURRENT DEVICE ACTIVATION DATE","size":2500}, {"name":"CURRENT DEVICE TERMINATION DATE","size":2500}, {"name":"TOTAL NUMBER OF DEVICES USED","size":2500}, {"name":"DEVICE TYPE NAME EG, HANDSET, SMART, SIM, BASE STATION, PC CARD","size":2500}, {"name":"CURRENT DEVICE MANUFACTURER NAME EG, SAMSUNG, APPLE","size":2500}, {"name":"CURRENT DEVICE OPERATING SYSTEM","size":2500}, {"name":"DEVICE UPGRADE CATEGORY CODE","size":2500}, {"name":"CURRENT DEVICE PRICE ","size":2500}, {"name":"RATE PLAN","size":2500}, {"name":"RECURRING PRIMARY PLAN CHARGE FOR CURRENT PRIMARY PLAN","size":2500}, {"name":"PREMIUM CONTENTS CATEGORY","size":2500}, {"name":"PREMIUM CONTENTS PURCHASE AMOUNT","size":2500} ] }, { "name": "DERIVED", "children" : [ {"name":"DEVICE LIFE","size":2500}, {"name":"NUMBER OF DEVICE SWITCHES MADE IN LAST N MONTHS","size":2500}, {"name":"# REFURBISHED DEVICES ACTIVATED ON AN ACCOUNT IN LAST N MONTHS","size":2500}, {"name":"NO. OF UNIQUE MANUFACTURERS SUBSCRIBER HAS BEEN ASSOCIATED WITH","size":2500}, {"name":"# OF PURCHASE TRANSACTIONS FOR DIFFERENT PREMIUM CATEGORIES IN LAST N MONTHS","size":2500}, {"name":"AVERAGE PREMIUM CONTENT PURCHASE AMOUNT IN LAST N MONTHS","size":2500}, {"name":"NUMBER OF TIMES SUBSCRIBER CHANGED PRIMARY PLAN IN LAST N MONTHS","size":2500}, {"name":"PHONE/ DATA SERVICE ADDED OR DROPPED IN LAST N MONTHS","size":2500} ] } ] }, {"name":"CUSTOMER INTERACTION & CHANNEL", "children":[ {"name":"IVR/SAVE DESK", "children":[ {"name":"RAW", "children":[ {"name":"TOTAL NUMBER OF CALLS SUBSCRIBER MADE INTO THE IVR","size":2500}, {"name":"NUMBER OF SUBSCRIBER CALLS TRANSFERRED TO A REP","size":2500}, {"name":"MINUTES ON PHONE W/IVR IN CUSTCARE ","size":2500}, {"name":"TOTAL ABANDONED CALLS","size":2500}, {"name":"NUMBER OF CALLS TO SAVE DESK","size":2500} ] }, {"name":"DERIVED", "children":[ {"name":"AVERAGE ABANDONED CALLS IN LAST N MONTHS","size":2500}, {"name":"AVERAGE NUMBER OF CALLS SUBSCRIBER MADE INTO THE IVR IN LAST N MONTHS","size":2500}, {"name":"AVERAGE IVR TIME PER CALL PER SUB IN LAST N MONTHS","size":2500}, {"name":"AVERAGE NUMBER OF SUBSCRIBER CALLS TRANSFERRED TO A REP IN LAST N MONTHS","size":2500}, {"name":"NO. CALLS TO SAVE DESK IN LAST N MONTHS","size":2500} ] } ] }, {"name":"CHANNEL", "children":[ {"name":"RAW", "children":[ {"name":"UNIQUE SALES CHANNEL CODE","size":2500}, {"name":"REPORTING CHANNEL DESCRIPTION: RETAIL DIRECT, TELESALES, CUSTOMER CARE, AFFILITATES, ETC.","size":2500}, {"name":"CURRENT CHANNEL DISTRIBUTION: DIRECT, INDIRECT","size":2500}, {"name":"PREFERRED CUSTOMER SERVICE CHANNEL: DIRECT, INDIRECT,WEB ETC","size":2500} ] }, {"name":"DERIVED", "children":[ {"name":"COUNT OF CHANGE IN PREFERRED CONTACT CHANNEL FROM DIRECT TO INDIRECT IN LAST N MONTHS","size":2500}, {"name":"INDICATOR FOR CURRENT CHANNEL AS CUSTOMER CARE","size":2500}, {"name":"COUNT OF CHANGE IN PREFERRED LANGUAGE OF COMMUNICATION IN LAST N MONTHS","size":2500}, {"name":"COUNT OF CHANGE IN PREFERRED PURCHASE CHANNEL IN LAST N MONTHS","size":2500} ] } ] } ,{"name":"CAMPAIGN", "children":[ {"name":"RAW", "children":[ {"name":"UNIQUE CAMPAIGN IDENTIFIER (CODE)","size":2500}, {"name":"CONTACT METHOD TYPE - EMAIL, SMS, DM,ETC.","size":2500}, {"name":"CAMPAIGN START DATE","size":2500}, {"name":"CAMPAIGN END DATE","size":2500}, {"name":"CAMPAIGN STATUS","size":2500}, {"name":"TREATED/CONTROL FLAG","size":2500}, {"name":"MARKETING FUNCTION DESCRIPTION - WINBACK, CROSS-SELL,ETC.","size":2500}, {"name":"RESPONSE CODE- Y /N","size":2500}, {"name":"RESPONSE DATE","size":2500}, {"name":"OFFER COST","size":2500} ] }, {"name":"DERIVED", "children":[ {"name":"# OF CAMPAIGNS SENT IN LAST N MONTHS","size":2500}, {"name":"# OF TIMES ACCOUNT WAS TARGETED IN LAST N MONTHS","size":2500}, {"name":"EARLIEST CAMPAIGN START DATE","size":2500}, {"name":"TOTAL MARKETING SPEND PER MARKETING FUNCTION","size":2500}, {"name":"TOTAL REVENUE GENERATED PER MARKETING FUNCTION","size":2500}, {"name":"RETURN ON MARKETING INVESTMENT","size":2500}, {"name":"EARLIEST RESPONSE DATE","size":2500}, {"name":"OPT OUT RATE","size":2500}, {"name":"EMAIL CLICK RATE","size":2500} ] }] } ,{"name":"SERVICE TICKETS", "children":[ {"name":"RAW", "children":[ {"name":"REPAIR DATE","size":2500}, {"name":"BACK OFFICE COMPLAINT TYPE EX, 'BATTERY/CHARGING', 'POWER/ELECTRICAL',SOFTWARE ISSUES', 'SOFTWARE/APPLICATIONS'","size":2500}, {"name":"FRONT OFFICE COMPLAINT TYPE","size":2500}, {"name":"MANUFACTURER NAME","size":2500}, {"name":"REPLACEMENT DEVICE QUALITY NAME EG.= NEW, REFURBISHED, UNKNOWN","size":2500}, {"name":"REPAIRED DEVICE DELIVERY METHOD","size":2500}, {"name":"RESOULTION TIME FOR EACH TICKET","size":2500}] }, {"name":"DERIVED", "children":[ {"name":"NUMBER OF SERVICE TICKETS WHERE MANUFACTURER IS APPLE","size":2500}, {"name":"NUMBER OF FRONT OFFICE COMPLAINTS RELATED TO AUDIO IN CURRENT N MONTHS","size":2500}, {"name":"NUMBER OF BACK OFFICE COMPLAINTS RELATED TO BATTERY IN CURRENT N MONTHS","size":2500}, {"name":"NO OF SERVICE TICKETS CLOSED IN LAST N MONTHS","size":2500}, {"name":"AVERAGE RESOLUTION TIME IN N MONTHS","size":2500} ] }] } ]}, { "name": "ORDERS", "children" : [ { "name": "RAW", "children" : [ {"name":"ORDER DETAILS","size":2500}, {"name":"ITEM DETAILS","size":2500}, {"name":"BANNER","size":2500}, {"name":"DEALERS","size":2500}, {"name":"ACTIVE CODE","size":2500} ] }, { "name": "DERIVED", "children" : [ {"name":"# OF ORDERS IN LAST N MONTHS","size":2500}, {"name":"# OF ITEMS WITHIN ORDER","size":2500}, {"name":"DATE OF LAST PAYMENTS","size":2500} ] }]}, { "name": "NETWORK & COVERAGE", "children" : [ { "name": "RAW", "children" : [ {"name":"# OF BLOCKED CALLS IN CURRENT MONTH","size":2500}, {"name":"# OF DROPPED CALLS IN CURRENT MONTH","size":2500}, {"name":"# OF DROPPED AND BLOCKED CALLS IN CURRENT MONTH","size":2500}, {"name":"# OF DROPPED/ BLOCKED CALLS ON WEEKDAYS/WEEKEND","size":2500}, {"name":"CALL START DATE","size":2500}, {"name":"# OF CELL SITE ACCESS BY SUBSCRIBER IN CURRENT MONTH","size":2500}, {"name":"# OF CALLS ATTEMPTED","size":2500}, {"name":"# OF CALLS FORWARDED","size":2500}, {"name":"ZIP CODE","size":2500}, {"name":"ESTIMATED QUANTITY OF MILES COVERED FOR 3G/4G SERVICE","size":2500} ] }, { "name": "DERIVED", "children" : [ {"name":"SUBSCRIBER AVERAGE OF DROPPED/BLOCKED CALLS IN LAST N MONTHS","size":2500}, {"name":"ACCOUNT AVERAGE OF NUMBER OF DROPPED/ BLOCKED CALLS PER SUBSCRIBER","size":2500}, {"name":"# OF CALLS ATTEMPTED OR RECEIVED IN LAST N MONTHS","size":2500}, {"name":"TOTAL FAILED CALLS ON TOP 5 VOICE TOWERS IN LAST N MONTHS","size":2500}, {"name":"AVERAGE NUMBER OF DROPS/BLOCKS/FAILED CALLS PER MARKET ON TOP 5 VOICE TOWERS IN THE LAST N MONTHS","size":2500}, {"name":"POPULATION PER SQUARE MILE IN ZIP CODE","size":2500} ]} ] }, { "name": "REVENUE & INVOICE", "children" : [ { "name": "RAW", "children" : [ {"name":"CREDIT AMOUNT","size":2500}, {"name":"BILLING NUMBER","size":2500}, {"name":"BILLER DETAILS","size":2500}, {"name":"CANCELLATION CHARGE AMOUNT","size":2500}, {"name":"OUT OF PLAN CHARGES - FOR VOICE, DATA, TEXT MESSAGING","size":2500}, {"name":"MONTHLY DISCOUNT/ ADJUSTMENT AMOUNT ALLOCATED TO THE SUBSCRIBER","size":2500}, {"name":"ISD/STD REVENUE AMOUNT","size":2500}, {"name":"AVERAGE REVENUE PER CUSTOMER","size":2500}, {"name":"REVENUE INCURRED FROM DATA/VOICE/SMS SERVICES","size":2500} ] }, { "name": "DERIVED", "children" : [ {"name":"AVERAGE OF ISD/STD REVENUE AMOUNT ACROSS N MONTHS","size":2500}, {"name":"AVERAGE PURCHASE FREQUENCY ACROSS N MONTHS","size":2500}, {"name":"PREFERRED DISCOUNT OFFERS","size":2500}, {"name":"AVERAGE ARPU OF LAST N MONTHS","size":2500}, {"name":"AVERAGE OF SMS MONTHLY RECURRING CHARGE AMOUNT ACROSS N MONTHS","size":2500}, {"name":"AVERAGE OF OUT OF PLAN AMOUNT FOR KILOBYTES USED IN LAST N MONTHS","size":2500}, {"name":"AVERAGE OF CANCELLATION AMOUNT ACROSS N MONTHS","size":2500}, {"name":"AVERAGE OF CREDIT AMOUNT ACROSS N MONTHS","size":2500}, {"name":"ACCOUNT RATIO TREND FOR REVENUE GENERATED FROM OVERAGE AMOUNT IN LAST N MONTHS TO LAST N-3 MONTHS","size":2500} ] } ] }, { "name": "USAGE", "children" : [ { "name": "RAW", "children" : [ {"name":"TOTAL TEXT MESSAGE USAGE QUANTITY","size":2500}, {"name":"TOTAL CASUAL 2G/3G/4G DATA USAGE IN KILOBYTES","size":2500}, {"name":"TOTAL IN-PLAN/ OUT OF PLAN DATA USAGE (2G/3G/4G) IN KILOBYTES","size":2500}, {"name":"LONG DISTANCE CALL QUANTITY","size":2500}, {"name":"TOTAL MINUTES OF USE FOR CALLS TO OTHER COMPETITOR NETWORK","size":2500}, {"name":"TOTAL MINUTES OF USE FOR CALLS TO AND FROM SAME SERVICE PROVIDER NETWORK","size":2500}, {"name":"CALL QUANTITY FOR CALLS MADE DURING OFFPEAK HOURS","size":2500}, {"name":"2G/3G/4G DATA OVERAGE KB QUANTITY","size":2500} ] }, { "name": "DERIVED", "children" : [ {"name":"AVERAGE TEXT MESSAGE USAGE QUANTITY IN LAST N MONTHS","size":2500}, {"name":"TOTAL # OF CALLS TO COMPETITOR NETWORK IN LAST N MONTHS","size":2500}, {"name":"N MONTHS AVERAGE 2G/3G/4G DATA OVERAGE KB QUANTITY","size":2500}, {"name":"N MONTHS AVERAGE LONG DISTANCE CALL QUANTITY","size":2500}, {"name":"N MONTHS AVERAGE OF DATA INPLAN/OUTOFPLAN 4G KB QUANTITY","size":2500}, {"name":"N MONTHS SUM OFF PEAK USAGE CALL Quantity","size":2500}, {"name":"TREND: VOICE OVERAGE MINUTES IN LAST N MONTHS TO LAST N-3 MONTHS","size":2500} ] } ] }, { "name": "CONTRACT", "children" : [ { "name": "RAW", "children" : [ {"name":"TYPE OF CONTRACT","size":2500}, {"name":"CURRENT CONTRACT STATUS","size":2500}, {"name":"CONTRACT RENEWAL STATUS","size":2500}, {"name":"RENEWAL REASON CODE","size":2500}, {"name":"CURRENT CONTRACT EXPIRATION DATE","size":2500}, {"name":"CURRENT CONTRACT START DATE","size":2500}, {"name":"EARLIEST SERVICE START DATE ","size":2500}] }, { "name": "DERIVED", "children" : [ {"name":"SUBSCRIBER TENURE IN MONTHS","size":2500}, {"name":"NUMBER OF KNOWN CONTRACTS A SUBSCIBER HAS BEEN ON DURING ITS LIFETIME","size":2500}, {"name":"NUMBER OF SUBSCRIBERS ON CONTRACT IN THE ACCOUNT","size":2500}, {"name":"SUBSCRIBER LEVEL OR ACCOUNT AVERAGE: NUMBER OF MONTHS SINCE AN ACTIVE CONTRACT","size":2500}, {"name":"NUMBER OF MONTHS UNTIL CONTRACT EXPIRATION","size":2500}, {"name":"TOTAL # OF NEW CONTRACTS OPENED BY SUBSCRIBER IN LAST N MONTHS","size":2500}, {"name":"TOTAL # OF CONTRACTS RENEWED BY SUBSCRIBER IN LAST N MONTHS","size":2500}, {"name":"TOTAL # OF CONTRACTS CLOSED BY SUBSCRIBER IN LAST N MONTHS","size":2500}, {"name":"ACCOUNT AVERAGE : # OF CONTRACTS OPENED IN LAST N MONTHS","size":2500}, {"name":"ACCOUNT AVERAGE : # OF CONTRACTS RENEWED IN LAST N MONTHS","size":2500}, {"name":"ACCOUNT AVERAGE : # OF CONTRACTS CLOSED IN LAST N MONTHS","size":2500} ] } ] }, { "name": "SURVEY", "children" : [ { "name": "RAW", "children" : [ {"name":"SURVEY SCORE FOR CUSTOMER CARE","size":2500}, {"name":"SURVEY DATE FOR CUSTOMER CARE","size":2500}, {"name":"SURVEY SCORE FOR IVR","size":2500}, {"name":"SURVEY DATE FOR IVR","size":2500}, {"name":"SURVEY SCORE FOR TELESALES","size":2500}, {"name":"SURVEY DATE FOR TELESALES","size":2500}, {"name":"SURVEY SCORE FOR RETAIL","size":2500}, {"name":"SURVEY DATE FOR RETAIL","size":2500}, {"name":"RESPONSE FLAG - RESPONDED/NOT RESPONDED","size":2500} ] }, { "name": "DERIVED", "children" : [ {"name":"MAX SURVEY SCORE FOR CUSTOMER CARE SURVEY IN LAST N MONTHS","size":2500}, {"name":"MAX SURVEY SCORE FOR IVR SURVEY IN LAST N MONTHS","size":2500}, {"name":"MAX SURVEY SCORE FOR TELESALES SURVEY IN LAST N MONTHS","size":2500}, {"name":"MAX SURVEY SCORE FOR RETAIL SURVEY IN LAST N MONTHS","size":2500}, {"name":"INDICATOR: TAKES VALUE 1 IF THE CUSTOMER CARE/ IVR/TELESALES/RETAIL SURVEY SCORE IS PROMOTER LEVEL","size":2500}, {"name":"INDICATOR: TAKES VALUE 1 IF THE CUSTOMER CARE/ IVR/TELESALES/RETAIL SURVEY SCORE IS NEUTRAL LEVEL","size":2500}, {"name":"INDICATOR: TAKES VALUE 1 IF THE CUSTOMER CARE/ IVR/TELESALES/RETAIL SURVEY SCORE IS DETRACTOR LEVEL","size":2500}, {"name":"ACCOUNT AVERAGE: CUSTOMER CARE/ IVR/TELESALES/RETAIL SURVEY SCORE (BASED ON SUBS WITH NON-ZERO AND NON-NULL SCORES)","size":2500} ] } ] }, { "name": "3RD PARTY DATA", "children" : [ { "name": "SOCIAL MEDIA", "children" : [ {"name":"SOCIAL HANDLE - FACEBOOK, LINKEDIN,ETC","size":2500}, {"name":"SOCIAL MEDIA FEED","size":2500}, {"name":"TIME OF FEED","size":2500}, {"name":"NO. OF TWITTER FOLLOWERS","size":2500}, {"name":"TOTAL FEEDS TILL DATE","size":2500}, {"name":"ACCOUNT CREATION DATE","size":2500} ] }, { "name": "GEO LOCATION", "children" : [ {"name":"LATITUDE","size":2500}, {"name":"LONGITUDE","size":2500}, {"name":"CITY OF CUSTOMER","size":2500}, {"name":"CATCHMENT AREA","size":2500}, {"name":"STATE OF CUSTOMER","size":2500} ] }, { "name": "WEB BROWSING", "children" : [ {"name":"IP ADDRESS","size":2500}, {"name":"BROWSER FAMILY","size":2500}, {"name":"URLS","size":2500}, {"name":"TYPES OF DOMAIN EX. GAMES ETC","size":2500}, {"name":"TIMESTAMP","size":2500} ] }, { "name": "APP OWNERSHIP", "children" : [ {"name":"APP NAME","size":2500}, {"name":"NETWORK PROVIDER","size":2500}, {"name":"COUNTRY CODE","size":2500}, {"name":"TOTAL APPLICATIONS DOWNLOADED","size":2500}, {"name":"MOBILE CARRIER","size":2500}, {"name":"DEVICE ID","size":2500}, {"name":"TYPE OF APPLICATIONS - LIFESTYLE, GAMES, ENTERTAINMENT","size":2500} ] }, { "name": "BRAND AFFINITIES", "children" : [ {"name":"TOTAL SPEND ON OWN BRAND","size":2500}, {"name":"TOTAL SPEND ON COMPETITOR BRAND","size":2500}, {"name":"TRANSACTION COUNT","size":2500}, {"name":"CATEGORY OF BRAND","size":2500}, {"name":"SHARE OF CATEGORY(%)","size":2500}, {"name":"BUYER SCORE","size":2500} ] }, { "name": "DEMOGRAPHICS", "children" : [ {"name":"RAW","children":[ {"name":"GENDER","size":2500}, {"name":"MARITAL STATUS","size":2500}, {"name":"AGE ","size":2500}, {"name":"GENDER","size":2500}, {"name":"ETHNICITY","size":2500}, {"name":"EDUCATION LEVEL","size":2500}, {"name":"INDIVIDUAL’S OCCUPATION","size":2500}, {"name":"INDIVIDUAL’S EMPLOYMENT STATUS","size":2500}, {"name":"HOME OWNERSHIP STATUS","size":2500}, {"name":"HOUSEHOLD SOCIO ECONOMIC CLASSIFICATION","size":2500}, {"name":"TOTAL HOUSEHOLD SIZE (ADULTS AND CHILDREN)","size":2500}, {"name":"COMBINED ANNUAL HOUSEHOLD INCOME","size":2500} ]}, {"name":"DERIVED","children":[ {"name":"AVERAGE AGE OF SUBSCRIBERS ON ACCOUNT","size":2500}, {"name":"PROFESSIONAL STATUS INDICATOR","size":2500}, {"name":"PROPORTION OF ADULTS EARNING","size":2500}, {"name":"HOUSEHOLD INCOME $1,000-$14,999 (BANDED)","size":2500}, {"name":"HISPANIC ETHNICITY INDICATOR","size":2500}, {"name":"INDIVIDUAL’S LIFE STAGE(TEENAGER,ADULT,CHILD,ETC)","size":2500}, {"name":"AGE BAND (10-20,30-40,ETC)","size":2500}, {"name":"INTEREST IN HOME ENTERTAINMENT, TELEVISION AND VIDEO","size":2500} ]}] } ] }, { "name": "MODEL SCORES/SEGMENT ID", "children" : [ {"name":"MODEL SCORE FOR CHURN PROPENSITY","size":2500}, {"name":"MODEL SCORE FOR ADD A LINE PROPENSITY","size":2500}, {"name":"MODEL SCORE FOR UPGRADE PROPENSITY","size":2500}, {"name":"MODEL SCORE FOR CUSTOMER LIFE TIME VALUE","size":2500}, {"name":"MODEL SCORE FOR RESPONSE TO CAMPAIGN","size":2500}, {"name":"SEGMENTATION ACTION SEGMENT ID","size":2500} ] } ] } ] }, {"name":"PAR", "children":[ { "name": "B2B", "children" : [ { "name": "3rd PARTY DATA", "children" : [ { "name": "BUSINESS AND FIRMOGRAPHICS", "children" : [ {"name":"TOTAL # OF EMPLOYEES ","size":2500}, {"name":"COMPANY EMAIL","size":2500}, {"name":"COMPANY PHONE NUMBER ","size":2500}, {"name":"WEBSITE DOMAINS ","size":2500}, {"name":"INDUSTRY TYPE","size":2500}, {"name":"PHYSICAL ADDRESS","size":2500}, {"name":"STANDARD INDUSTRY CLASSIFICATION CODE ","size":2500}, {"name":"YEAR FOUNDED","size":2500}, {"name":"TOTAL # OF COMPANIES REGISTERED ","size":2500}, {"name":"COMPANY REVENUE","size":2500}, {"name":"SALES VOLUME","size":2500}, {"name":"STATE ","size":2500}, {"name":"COUNTRY","size":2500}, {"name":"HOURS OF OPERATION","size":2500} ] }, { "name": "RISK, LEGAL AND COMPLIANCE", "children" : [ {"name":"AVERAGE RISK SCORE","size":2500}, {"name":"AVERAGE COMPLIANCE SCORE ","size":2500}, {"name":"BUREAU DATA","size":2500}, {"name":"FRAUD","size":2500}, {"name":"PUBLIC RECORDS","size":2500}, {"name":"B2B RISKS","size":2500}, {"name":"LEGAL","size":2500}, {"name":"SEC FILINGS","size":2500} ] }, { "name": "EVENTS AND TRIGGERS", "children" : [ {"name":"HIRING EVENT FLAG","size":2500}, {"name":"NEW FUNDING","size":2500}, {"name":"MOVING /LEASING NEW OFFICE SPACE FLAG","size":2500}, {"name":"MARKETING SPEND","size":2500}, {"name":"TRANSACTION DATA","size":2500}, {"name":"GROWTH","size":2500}, {"name":"IMPORT/EXPORT DEALS","size":2500}, {"name":"INTENT","size":2500} ] } ,{"name":"IDENTITY RESOLUTION","children":[ {"name":"SOCIAL HANDLE","size":2500}, {"name":" IP ADDRESS","size":2500}, {"name":"DOMAIN NAME","size":2500}, {"name":"DOMAIN ADDRESS","size":2500} ] } ,{"name":"TECHNOLOGY STACK AND SPEND","children":[ {"name":"AVERAGE SPEND ON CLOUD MIGRATION ","size":2500}, {"name":"TOTAL SPEND ON ON -PREMISE DATA SET UP ","size":2500}, {"name":"AVERAGE SPEND AT NEW TECHNOLOGIES","size":2500}, {"name":"IT SPEND","size":2500}, {"name":"HOSTING PROVIDER","size":2500}, {"name":"CLOUD PROVIDER","size":2500}, {"name":"NETWORK GROWTH","size":2500}, {"name":"DEVICE COUNT","size":2500}, {"name":"NO OF SERVERS","size":2500}, {"name":"CONTENT MANAGEMENT SYSTEM","size":2500}, {"name":"WEBSITE TRAFFIC SCORE","size":2500}, {"name":"NETWORK DENSITY SCORE","size":2500}, {"name":"WEB TECHNOLOGY TOOLS","size":2500}, {"name":"E-COMMERCE PROVIDER","size":2500}]} ,{"name":"NEWS AND EVENTS","children":[ {"name":"ECONOMIC REPORTS","size":2500}, {"name":"GEO-POLITICAL NEWS","size":2500}, {"name":"CURRENT EVENT COVERAGE","size":2500}, {"name":"MEDIA GROUP","size":2500} ]}, { "name": "SOCIAL MEDIA , CONTENT SEARCH AND BROWSING INTERESTS", "children" : [ {"name":"TOTAL # OF WEB REGISTRATION","size":2500}, {"name":"TOTAL # OF WEBSITE SEARCHED ","size":2500}, {"name":"TOTAL # OF CONTENT DOWNLOADED ","size":2500}, {"name":"EMAIL OPEN/CLICK RATE","size":2500}, {"name":"B2B TOPICS+ PUCLISHER SITES SOURCE","size":2500}, {"name":"FACEBOOK PROFILE","size":2500}, {"name":"TWITTER LIKES","size":2500}, {"name":"FULL REVIEW SNIPPETS","size":2500} ] } ] }, { "name": "PAR ENRICHMENT USING EXISTING CUSTOMER INFO", "children" : [ {"name":"TOTAL # OF PRODUCT PURCHASED AT ZIP LEVEL","size":2500}, {"name":"TOTAL VALUE OF PRODUCT PURCHASED AT ZIP LEVEL","size":2500}, {"name":"TOTAL # OF UNITS SOLD FOR A GIVEN PRODUCT A AT ZIP LEVEL","size":2500}, {"name":"FLAG FOR PRODUCT FEATURES AT ZIP LEVEL","size":2500}, {"name":"TOTAL NUMBER OF CALLS WITH AGENTS AT ZIP LEVEL","size":2500}, {"name":"TOTAL REVENUE EARNED AT ZIP LEVE","size":2500}, {"name":"TOTAL WON OPPORTUNITIES AT ZIP LEVEL","size":2500} ] } ] }, { "name": "B2C", "children" : [ { "name": "3rd PARTY DATA", "children" : [ { "name":"SOCIAL MEDIA/CONSUMER INTERESTS & BEHAVIOUR", "children" : [ {"name":"AVERAGE TWEETS PER DAY/WEEK","size":2500}, {"name":"TOTAL FEEDS PER DATE","size":2500}, {"name":"TOTAL INSTAGRAM FOLLOWERS ","size":2500}, {"name":"TIME OF FEED","size":2500}, {"name":"SOCIAL HANDLE","size":2500}, {"name":"ACCOUNT CREATION DATE","size":2500}, {"name":"SOCIAL MEDIA FEED (TEXT)","size":2500}, {"name":"INTEREST IN ELECTRONICS","size":2500}, {"name":"INTEREST IN GAMES","size":2500}, {"name":"INTEREST IN MOVIES","size":2500}, {"name":"INTEREST IN HIGH TECH","size":2500}, {"name":"INTEREST IN OUTDOORS","size":2500} ] }, {"name": "LOCATION", "children" : [ {"name":"AVERAGE NUMBER OF STORE VISITORS ","size":2500}, {"name":"TOTAL # OF STORES ","size":2500}, {"name":"AREA NAME","size":2500}, {"name":"MARKET NAME","size":2500}, {"name":"REGION NAME","size":2500}, {"name":"NO.OF VISITS TO EACH RETAIL STORE BROKEN DOWN BY CATEGORY","size":2500}, {"name":"LATITUDE","size":2500}, {"name":"LONGITUDE","size":2500}, {"name":"CATCHMENT AREA","size":2500}, {"name":"TIMESTAMP","size":2500} ] }, { "name": "ONLINE BROWSING", "children" : [ {"name":"DEVICE TYPE USED FOR ONLINE BROWISING ","size":2500}, {"name":"OPERATING SYSTEM USED FOR ONLINE BROWISING ","size":2500}, {"name":"SEARCH ENGINE USED FOR ONLINE BROWISING ","size":2500}, {"name":"AVERAGE ONLINE BROWSING SESSION UP TIME","size":2500}, {"name":"NO.OF CLICKS ON A SPECIFIC KEYWORD","size":2500}, {"name":"NO.OF SEARCH QUERIES ON A SPECIFIC KEYWORD","size":2500}, {"name":"NO.OF SHARED CONTENT ON A SPECIFIC KEYWORD ON A PUBLIC PORTAL","size":2500}, {"name":"TIMESTAMP","size":2500}, {"name":"URLS","size":2500}, {"name":"REFERENCE DOMAIN","size":2500} ] }, {"name": "DEMOGRAPHICS", "children" :[ {"name":"AVERAGE AGE ","size":2500}, {"name":"AVERAGE HOUSE SIZE","size":2500}, {"name":"AFFULENCE LEVEL","size":2500}, {"name":"EDUCATION LEVEL","size":2500}, {"name":"GENDER","size":2500}, {"name":"NO. OF CHILDREN","size":2500}, {"name":"HOUSEHOLD INCOME","size":2500}, {"name":"OCCUPATION STATUS - STUDYING, WORKING, RETIRED","size":2500}, {"name":"MARRITAL STATUS - MARRIED,UNMARRIED","size":2500}, {"name":"HOME OWNER","size":2500}, {"name":"MORTGAGE LOAN TYPE ","size":2500}, {"name":"MEDIAN HOME VALUE ","size":2500}, {"name":"OWNS A CREDIT CARD","size":2500}, {"name":"OWNS INVESTMENTS","size":2500}, {"name":"LIFESTYLE SEGMENT ","size":2500} ] } , {"name": "TRANSACTIONAL/PAYMENTS", "children" :[ {"name":"TOTAL SPEND($)","size":2500}, {"name":"TRANSACTION COUNT","size":2500}, {"name":"OWN BRAND ","size":2500}, {"name":"COMPETITOR BRAND(S)","size":2500}, {"name":"SHARE OF CATEGORY(%)","size":2500}, {"name":"PAYMENTS BY DIFFERENT CATEGORIES","size":2500} ] } , {"name": "DEVICE/APP OWNERSHIP", "children" :[ {"name":"APP NAME","size":2500}, {"name":"APPLICATION TYPE ","size":2500}, {"name":"TOTAL NUMBER OF APPS INSTALLED ","size":2500}, {"name":"TOTAL NUMBER OF APPS UNINSTALLED ","size":2500}, {"name":"DEVICE ID","size":2500}, {"name":"DEVICE TYPE","size":2500}, {"name":"MOBILE CARRIER","size":2500}, {"name":"NETWORK PROVIDER","size":2500}, {"name":"COUNTRY CODE","size":2500} ] } ] }, { "name": "PAR ENRICHMENT USING EXISTING CUSTOMER INFO", "children" : [ {"name":"TOTAL VOICE USAGE AT ZIP LEVEL","size":2500}, {"name":"TOTAL DATA USAGE AT ZIP LEVEL","size":2500}, {"name":"AVERAGE NUMBER OF CALLS TO CARE AT ZIP LEVEL","size":2500}, {"name":"AVERAGE NETWORK COVERAGE AT ZIP LEVEL","size":2500}, {"name":"NO. OF DEVICE SWITCHES MADE PER CUSTOMER EVER AT ZIP LEVEL","size":2500}, {"name":"TOTAL 4G KILOBYTES DATA USAGE AT ZIP LEVEL","size":2500}, {"name":"AVERAGE MONTHLY RECURRING CHARGE AMOUNT AT ZIP LEVEL","size":2500}, {"name":"PRIMARY PRICE PLAN CODE AT ZIP LEVEL","size":2500}, {"name":"PROPORTION OF 'PRIME CREDIT-WORTHY CUSTOMERS' AT ZIP LEVEL","size":2500}, {"name":"NUMBER OF KNOWN CONTRACTS CLOSED AT ZIP LEVEL","size":2500}, {"name":"AVERAGE DROPPED AND BLOCKED CALLS AT ZIP LEVEL","size":2500} ] } ] }] }]}; // Set the dimensions and margins of the diagram var margin = {top: 50, right: 120, bottom: 20, left: 120}, width = 2500 - margin.left - margin.right, height = 600 - margin.top - margin.bottom; // append the svg object to the body of the page // appends a 'group' element to 'svg' // moves the 'group' element to the top left margin var svg = d3.select("body").append("svg") .attr("width", width + margin.right + margin.left) .attr("height", height + margin.top + margin.bottom) .append("g") .attr("transform", "translate(" + margin.left + "," + margin.top + ")"); var i = 0, duration = 600, root; // declares a tree layout and assigns the size var treemap = d3.tree().size([height, width]); // Assigns parent, children, height, depth root = d3.hierarchy(treeData, function(d) { return d.children; }); root.x0 = height / 2; root.y0 = 0; // Collapse after the second level root.children.forEach(collapse); update(root); // Collapse the node and all it's children function collapse(d) { if(d.children) { d._children = d.children d._children.forEach(collapse) d.children = null } } function update(source) { // Assigns the x and y position for the nodes var treeData = treemap(root); // Compute the new tree layout. var nodes = treeData.descendants(), links = treeData.descendants().slice(1); // Normalize for fixed-depth. nodes.forEach(function(d){ d.y = d.depth * 150}); // ****************** Nodes section *************************** // Update the nodes... var node = svg.selectAll('g.node') .data(nodes, function(d) {return d.id || (d.id = ++i); }); // Enter any new modes at the parent's previous position. var nodeEnter = node.enter().append('g') .attr('class', 'node') .attr("transform", function(d) { return "translate(" + source.y0 + "," + source.x0 + ")"; }) .on('click', click); // Add Circle for the nodes nodeEnter.append('circle') .attr('class', 'node') .attr('r', 1e-6) .style("fill", function(d) { return d._children ? "lightsteelblue" : "#fff"; }); // Add labels for the nodes nodeEnter.append('text') .attr("dy", ".35em") .attr("x", function(d) { return d.children || d._children ? -7 : 7; }) .attr("text-anchor", function(d) { return d.children || d._children ? "end" : "start"; }) .text(function(d) { return d.data.name; }); // UPDATE var nodeUpdate = nodeEnter.merge(node); // Transition to the proper position for the node nodeUpdate.transition() .duration(duration) .attr("transform", function(d) { return "translate(" + d.y + "," + d.x + ")"; }); // Update the node attributes and style nodeUpdate.select('circle.node') .attr('r', 4) .style("fill", function(d) { return d._children ? "lightsteelblue" : "#fff"; }) .attr('cursor', 'pointer'); // Remove any exiting nodes var nodeExit = node.exit().transition() .duration(duration) .attr("transform", function(d) { return "translate(" + source.y + "," + source.x + ")"; }) .remove(); // On exit reduce the node circles size to 0 nodeExit.select('circle') .attr('r', 1e-6); // On exit reduce the opacity of text labels nodeExit.select('text') .style('fill-opacity', 1e-6); // ****************** links section *************************** // Update the links... var link = svg.selectAll('path.link') .data(links, function(d) { return d.id; }); // Enter any new links at the parent's previous position. var linkEnter = link.enter().insert('path', "g") .attr("class", "link") .attr('d', function(d){ var o = {x: source.x0, y: source.y0} return diagonal(o, o) }); // UPDATE var linkUpdate = linkEnter.merge(link); // Transition back to the parent element position linkUpdate.transition() .duration(duration) .attr('d', function(d){ return diagonal(d, d.parent) }); // Remove any exiting links var linkExit = link.exit().transition() .duration(duration) .attr('d', function(d) { var o = {x: source.x, y: source.y} return diagonal(o, o) }) .remove(); // Store the old positions for transition. nodes.forEach(function(d){ d.x0 = d.x; d.y0 = d.y; }); // Creates a curved (diagonal) path from parent to the child nodes function diagonal(s, d) { path = `M ${s.y} ${s.x} C ${(s.y + d.y) / 2} ${s.x}, ${(s.y + d.y) / 2} ${d.x}, ${d.y} ${d.x}` return path } // Toggle children on click. function click(d) { if (d.children) { d._children = d.children; d.children = null; } else { d.children = d._children; d._children = null; } update(d); } } </script> </body>
https://d3js.org/d3.v4.min.js