Built with blockbuilder.org
Last active
August 16, 2019 01:13
-
-
Save jasonkolb/d623a7bd4f0546d99029e940a4fc5565 to your computer and use it in GitHub Desktop.
Rating Results
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| license: mit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <script src="https://d3js.org/d3.v4.min.js"></script> | |
| <style> | |
| body { margin:0;position:fixed;top:0;right:0;bottom:0;left:0; } | |
| </style> | |
| </head> | |
| <body> | |
| <script> | |
| // Feel free to change or delete any of the code you see in this editor! | |
| var svg = d3.select("body").append("svg") | |
| .attr("width", 960) | |
| .attr("height", 500) | |
| svg.append("text") | |
| .text("Edit the code below to change me!") | |
| .attr("y", 370) | |
| .attr("x", 120) | |
| .attr("font-size", 36) | |
| .attr("font-family", "monospace") | |
| d3.json("ratingResults.json", function (error, data) { | |
| console.log( "rating results" ); | |
| debugger; | |
| var svg = d3.select("svg"); | |
| svg.select("defs").remove(); | |
| var filter = svg.append("defs").append("filter").attr("id", "gooeyCodeFilter"); | |
| filter.append("feGaussianBlur").attr("id", "gaussblurrer").attr("in", "SourceGraphic").attr("stdDeviation", 6).attr("color-interpolation-filters", "sRGB").attr("result", "blur"); | |
| filter.append("feColorMatrix").attr("in", "blur").attr("mode", "matrix").attr("values", "1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 24 -5").attr("result", "gooey"); | |
| var g = svg.append("g").attr("id", "filterG").attr("transform", "translate(510,510)").style("filter", "url(#gooeyCodeFilter)"); | |
| var textG = svg.append("g").attr("transform", "translate(1044,510)"); | |
| var nesting = d3.nest(); | |
| layers.forEach(function (d) { | |
| nesting.key(function (p) { | |
| return p[d]; | |
| }); | |
| }); | |
| </script> | |
| </body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "EMC": { | |
| "building": { | |
| "fire_lightning": { | |
| "1": { | |
| "baseRate": "0.111", | |
| "class": "1.000", | |
| "company": "0.700", | |
| "zipCode": "1.003", | |
| "rateNumber": "1.193", | |
| "construction": "0.990", | |
| "limitOfInsurance": "0.969", | |
| "isoPublicProtectionClass": "1.000", | |
| "fireProtectionRefinement": "1.000", | |
| "buildingCodeGrade": "1.000", | |
| "sprinklered": "1.000", | |
| "deductible": "1.000" | |
| }, | |
| "2": { | |
| "roofAgeMaterialACV": "1.000", | |
| "functionalValuation": "1.000", | |
| "centralStation": "1.000", | |
| "mall": "1.000", | |
| "numberOfStories": "1.000", | |
| "ownerPresent": "1.000", | |
| "yearAtPremises": "0.975", | |
| "yearsWithEMC": "0.936", | |
| "autoIncreaseInInsurance": "0.980", | |
| "businessIncomeEELOI": "0.960", | |
| "businessIncomeEEPOI": "1.020", | |
| "IRPM": "1.00", | |
| "experience": "0.950", | |
| "multiplePolicyDiscount": "1.000", | |
| "exposureUnit": 2645.05 | |
| } | |
| }, | |
| "theft_vandalism": { | |
| "1": { | |
| "baseRate": "0.010", | |
| "class": "1.000", | |
| "company": "0.700", | |
| "zipCode": "0.772", | |
| "rateNumber": "1.193", | |
| "construction": "0.865", | |
| "limitOfInsurance": "0.942", | |
| "isoPublicProtectionClass": "1.000", | |
| "fireProtectionRefinement": "1.000", | |
| "buildingCodeGrade": "1.000", | |
| "sprinklered": "1.000", | |
| "deductible": "1.001" | |
| }, | |
| "2": { | |
| "roofAgeMaterialACV": "1.000", | |
| "functionalValuation": "1.000", | |
| "burglarAlarm": "1.000", | |
| "mall": "1.000", | |
| "numberOfStories": "1.000", | |
| "ownerPresent": "1.000", | |
| "yearAtPremises": "0.975", | |
| "yearsWithEMC": "0.936", | |
| "autoIncreaseInInsurance": "0.980", | |
| "businessIncomeEELOI": "0.960", | |
| "businessIncomeEEPOI": "1.020", | |
| "IRPM": "1.00", | |
| "experience": "0.950", | |
| "multiplePolicyDiscount": "1.000", | |
| "exposureUnit": 2645.05 | |
| } | |
| }, | |
| "water_other": { | |
| "1": { | |
| "baseRate": "0.081", | |
| "class": "1.000", | |
| "company": "0.700", | |
| "zipCode": "1.087", | |
| "rateNumber": "1.193", | |
| "construction": "1.016", | |
| "limitOfInsurance": "0.910", | |
| "buildingCodeGrade": "1.000", | |
| "sprinklered": "1.000", | |
| "deductible": "1.000" | |
| }, | |
| "2": { | |
| "roofAgeMaterialACV": "1.000", | |
| "functionalValuation": "1.000", | |
| "mall": "1.000", | |
| "numberOfStories": "1.000", | |
| "ownerPresent": "1.000", | |
| "yearAtPremises": "0.975", | |
| "yearsWithEMC": "0.936", | |
| "autoIncreaseInInsurance": "0.980", | |
| "businessIncomeEELOI": "0.960", | |
| "businessIncomeEEPOI": "1.020", | |
| "IRPM": "1.00", | |
| "experience": "0.950", | |
| "multiplePolicyDiscount": "1.000", | |
| "exposureUnit": 2645.05 | |
| } | |
| }, | |
| "wind_hail": { | |
| "1": { | |
| "baseRate": "0.119", | |
| "wind_hail_exclusion": "1.000", | |
| "class": "1.000", | |
| "company": "0.700", | |
| "zipCode": "1.099", | |
| "rateNumber": "1.193", | |
| "construction": "0.951", | |
| "limitOfInsurance": "0.961", | |
| "buildingCodeGrade": "1.000", | |
| "sprinklered": "1.000", | |
| "deductible": "1.001" | |
| }, | |
| "2": { | |
| "roofAgeMaterial": "1", | |
| "roofAgeMaterialACV": "0.850", | |
| "roofSqFt": "1.091", | |
| "functionalValuation": "1.000", | |
| "mall": "1.000", | |
| "numberOfStories": "1.000", | |
| "ownerPresent": "1.000", | |
| "yearAtPremises": "0.975", | |
| "yearsWithEMC": "0.936", | |
| "autoIncreaseInInsurance": "0.980", | |
| "businessIncomeEELOI": "0.960", | |
| "businessIncomeEEPOI": "1.020", | |
| "IRPM": "1.00", | |
| "multiplePolicyDiscount": "1.000", | |
| "exposureUnit": 2645.05 | |
| } | |
| }, | |
| "hurricane": { | |
| "1": { | |
| "baseRate": "0.000", | |
| "wind_hail_exclusion": "1.000", | |
| "class": "1.000", | |
| "company": "0.700", | |
| "zipCode": "1.000", | |
| "rateNumber": "1.193", | |
| "construction": "1.025", | |
| "limitOfInsurance": "0.961", | |
| "buildingCodeGrade": "1.000", | |
| "sprinklered": "1.000", | |
| "deductible": "1.001" | |
| }, | |
| "2": { | |
| "roofAgeMaterial": "1", | |
| "roofAgeMaterialACV": "0.850", | |
| "roofSqFt": "1.091", | |
| "functionalValuation": "1.000", | |
| "mall": "1.000", | |
| "numberOfStories": "1.000", | |
| "ownerPresent": "1.000", | |
| "yearAtPremises": "0.975", | |
| "yearsWithEMC": "0.936", | |
| "autoIncreaseInInsurance": "0.980", | |
| "businessIncomeEELOI": "0.960", | |
| "businessIncomeEEPOI": "1.020", | |
| "IRPM": "1.00", | |
| "multiplePolicyDiscount": "1.000", | |
| "exposureUnit": 2645.05 | |
| } | |
| } | |
| }, | |
| "bpp": { | |
| "fire_lightning": { | |
| "1": { | |
| "baseRate": "0.140", | |
| "class": "1.000", | |
| "company": "0.700", | |
| "zipCode": "1.027", | |
| "rateNumber": "1.549", | |
| "construction": "0.916", | |
| "limitOfInsurance": "0.990", | |
| "isoPublicProtectionClass": "1.000", | |
| "fireProtectionRefinement": "1.000", | |
| "buildingCodeGrade": "1.000", | |
| "sprinklered": "1.000", | |
| "deductible": "1.000" | |
| }, | |
| "2": { | |
| "functionalValuation": "1.000", | |
| "centralStation": "1.000", | |
| "mall": "1.000", | |
| "numberOfStories": "1.000", | |
| "ownerPresent": "1.000", | |
| "yearAtPremises": "0.975", | |
| "yearsWithEMC": "0.936", | |
| "businessIncomeEELOI": "0.960", | |
| "businessIncomeEEPOI": "1.020", | |
| "IRPM": "1.00", | |
| "experience": "0.950", | |
| "multiplePolicyDiscount": "1.000", | |
| "exposureUnit": 600 | |
| } | |
| }, | |
| "theft_vandalism": { | |
| "1": { | |
| "baseRate": "0.054", | |
| "class": "1.000", | |
| "company": "0.700", | |
| "zipCode": "0.817", | |
| "rateNumber": "1.549", | |
| "construction": "0.898", | |
| "limitOfInsurance": "0.908", | |
| "isoPublicProtectionClass": "1.107", | |
| "fireProtectionRefinement": "0.881", | |
| "buildingCodeGrade": "1.000", | |
| "sprinklered": "1.000", | |
| "deductible": "1.000" | |
| }, | |
| "2": { | |
| "functionalValuation": "1.000", | |
| "burglarAlarm": "0.850", | |
| "mall": "1.000", | |
| "numberOfStories": "1.000", | |
| "ownerPresent": "1.000", | |
| "yearAtPremises": "0.975", | |
| "yearsWithEMC": "0.936", | |
| "businessIncomeEELOI": "0.960", | |
| "businessIncomeEEPOI": "1.020", | |
| "IRPM": "1.00", | |
| "experience": "0.950", | |
| "multiplePolicyDiscount": "1.000", | |
| "exposureUnit": 600 | |
| } | |
| }, | |
| "water_other": { | |
| "1": { | |
| "baseRate": "0.161", | |
| "class": "1.000", | |
| "company": "0.700", | |
| "zipCode": "1.080", | |
| "rateNumber": "1.549", | |
| "construction": "1.018", | |
| "limitOfInsurance": "0.967", | |
| "buildingCodeGrade": "1.000", | |
| "sprinklered": "1.000", | |
| "deductible": "1.000" | |
| }, | |
| "2": { | |
| "functionalValuation": "1.000", | |
| "mall": "1.000", | |
| "numberOfStories": "1.000", | |
| "ownerPresent": "1.000", | |
| "yearAtPremises": "0.975", | |
| "yearsWithEMC": "0.936", | |
| "businessIncomeEELOI": "0.960", | |
| "businessIncomeEEPOI": "1.020", | |
| "IRPM": "1.00", | |
| "experience": "0.950", | |
| "multiplePolicyDiscount": "1.000", | |
| "exposureUnit": 600 | |
| } | |
| }, | |
| "wind_hail": { | |
| "1": { | |
| "baseRate": "0.035", | |
| "wind_hail_exclusion": "1.000", | |
| "class": "1.000", | |
| "company": "0.700", | |
| "zipCode": "1.178", | |
| "rateNumber": "1.549", | |
| "construction": "0.923", | |
| "limitOfInsurance": "0.966", | |
| "buildingCodeGrade": "1.000", | |
| "sprinklered": "1.000", | |
| "deductible": "1.001" | |
| }, | |
| "2": { | |
| "roofSqFt": "1.000", | |
| "functionalValuation": "1.000", | |
| "mall": "1.000", | |
| "numberOfStories": "1.000", | |
| "ownerPresent": "1.000", | |
| "yearAtPremises": "0.975", | |
| "yearsWithEMC": "0.936", | |
| "businessIncomeEELOI": "0.960", | |
| "businessIncomeEEPOI": "1.020", | |
| "IRPM": "1.00", | |
| "multiplePolicyDiscount": "1.000", | |
| "exposureUnit": 600 | |
| } | |
| }, | |
| "hurricane": { | |
| "1": { | |
| "baseRate": "0.000", | |
| "wind_hail_exclusion": "1.000", | |
| "class": "1.000", | |
| "company": "0.700", | |
| "zipCode": "1.000", | |
| "rateNumber": "1.549", | |
| "construction": "1.025", | |
| "limitOfInsurance": "0.966", | |
| "buildingCodeGrade": "1.000", | |
| "sprinklered": "1.549", | |
| "deductible": "1.001" | |
| }, | |
| "2": { | |
| "roofSqFt": "1.000", | |
| "functionalValuation": "1.000", | |
| "mall": "1.000", | |
| "numberOfStories": "1.000", | |
| "ownerPresent": "1.000", | |
| "yearAtPremises": "0.975", | |
| "yearsWithEMC": "0.936", | |
| "businessIncomeEELOI": "0.960", | |
| "businessIncomeEEPOI": "1.020", | |
| "IRPM": "1.00", | |
| "multiplePolicyDiscount": "1.000", | |
| "exposureUnit": 600 | |
| } | |
| } | |
| }, | |
| "liability": { | |
| "liab_o_loi": { | |
| "1": { | |
| "baseRate": "0.187", | |
| "class": "1.000", | |
| "company": "0.700", | |
| "zipCode": "1.120", | |
| "liabilityGroup": "2.049", | |
| "increaseLimit": "1.074", | |
| "propDamageLiabDeductible": "0.996" | |
| }, | |
| "2": { | |
| "certifiedShop": "1.000", | |
| "numberOfStories": "0.850", | |
| "ownerPresent": "1.000", | |
| "yearAtPremises": "0.975", | |
| "yearsWithEMC": "0.936", | |
| "medicalExpense": "1.000", | |
| "actualCashValueBuildingAndBpp": "1.000", | |
| "pollutionExclusion": "1.000", | |
| "commDiseaseExclusion": "1.000", | |
| "personalAdvertisingInjury": "1.000", | |
| "IRPM": "1.00", | |
| "experience": "0.950", | |
| "multiplePolicyDiscount": "1.000", | |
| "exposureUnit": 600 | |
| } | |
| }, | |
| "liab_o_sales": { | |
| "1": { | |
| "baseRate": "2.510", | |
| "class": "1.000", | |
| "company": "0.700", | |
| "zipCode": "1.066", | |
| "increaseLimit": "1.074", | |
| "propDamageLiabDeductible": "0.996" | |
| }, | |
| "2": { | |
| "certifiedShop": "1.000", | |
| "numberOfStories": "0.850", | |
| "ownerPresent": "1.000", | |
| "yearAtPremises": "0.975", | |
| "yearsWithEMC": "0.936", | |
| "medicalExpense": "1.000", | |
| "actualCashValueBuildingAndBpp": "1.000", | |
| "pollutionExclusion": "1.000", | |
| "commDiseaseExclusion": "1.000", | |
| "personalAdvertisingInjury": "1.000", | |
| "IRPM": "1.00", | |
| "experience": "0.950", | |
| "multiplePolicyDiscount": "1.000", | |
| "exposureUnit": 200 | |
| } | |
| }, | |
| "liab_o_lessors": { | |
| "1": { | |
| "baseRate": "0.043", | |
| "class": "1.000", | |
| "company": "0.700", | |
| "zipCode": "0.919", | |
| "liabilityGroup": "1.746", | |
| "increaseLimit": "1.074", | |
| "propDamageLiabDeductible": "0.996" | |
| }, | |
| "2": { | |
| "certifiedShop": "1.000", | |
| "numberOfStories": "0.850", | |
| "ownerPresent": "1.000", | |
| "yearAtPremises": "0.975", | |
| "yearsWithEMC": "0.936", | |
| "medicalExpense": "1.000", | |
| "actualCashValueBuildingAndBpp": "1.000", | |
| "pollutionExclusion": "1.000", | |
| "commDiseaseExclusion": "1.000", | |
| "personalAdvertisingInjury": "1.000", | |
| "IRPM": "1.00", | |
| "experience": "0.950", | |
| "multiplePolicyDiscount": "1.000", | |
| "exposureUnit": 2645.05 | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment