Last active
November 20, 2018 20:57
-
-
Save debboutr/4d70e6df37c09bb6e79a8cfa44ab29e4 to your computer and use it in GitHub Desktop.
Products linked to PUCs
This file contains 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> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
top:30px; | |
margin:30px; | |
padding:30px; | |
} | |
.btn-group { | |
font-size:0; | |
} | |
.chart-example { | |
width:840px; | |
height:500px; | |
border-radius: 25px; | |
border:2px solid; | |
background-color:#d9ffcc; | |
display: inline-block; | |
} | |
.chart-wrap { | |
} | |
.org { | |
background-color:#ffb84d; | |
border-radius: 5px; | |
border-color: black; | |
} | |
.org:hover { | |
background-color:#ffcc80; | |
} | |
.b1 { | |
border-radius: 5px 0px 0px 0px; | |
border-width: 2px 2px 0px 2px; | |
margin-left:100px; | |
} | |
.b2 { | |
border-radius: 0px 5px 0px 0px; | |
border-width: 2px 2px 0px 0px; | |
} | |
.org:focus { | |
outline: none; | |
} | |
.legend-wrap { | |
position:relative; | |
padding:100px; | |
} | |
</style> | |
<div class="container-fluid"> | |
<div class="chart-wrap row"> | |
<div class="col-lg-9"> | |
<div> | |
<button class="org b1" id="split">PUC Level Split</button><button class="org b2" id="combine">Combine</button> | |
</div> | |
<div class="chart-example" id="chart"> | |
<svg> | |
</svg> | |
</div> | |
</div> | |
<div class="legend-wrap col-lg-3 text-center"> | |
<h3>General Categories</h3> | |
<div class="legend"> | |
</div> | |
</div> | |
</div> | |
</div> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
<script> | |
var legendColors = []; | |
function bubbleChart() { | |
var width = 840, | |
height = 500, | |
maxRadius = 6, | |
columnForColors = "gen_cat", | |
columnForRadius = "num_prods"; | |
function chart(selection) { | |
var data = selection.datum(); | |
var div = selection, | |
svg = div.selectAll('svg'); | |
svg.attr('width', width).attr('height', height); | |
var ldat = [ | |
{"title":"Level 1","x":80}, | |
{"title":"Level 2","x":347}, | |
{"title":"Level 3","x":640} | |
] | |
var labels = svg.selectAll('text') | |
.data(ldat) | |
.enter() | |
.append('text') | |
.attr('y',30) | |
.attr('x', function(d){ return d.x }) | |
.style('fill','grey') | |
.style('font-size','20px') | |
.style("visibility", "hidden") | |
.text(function(d){ return d.title }) | |
var tooltip = selection | |
.append("div") | |
.style("position", "absolute") | |
.style("visibility", "hidden") | |
.style("color", "white") | |
.style("padding", "8px") | |
.style("background-color", "#626D71") | |
.style("border-radius", "6px") | |
.style("text-align", "center") | |
.style("font-family", "monospace") | |
.style("width", "400px") | |
.text(""); | |
var scaleRadius = d3.scaleSqrt().domain([d3.min(data, function(d) { | |
return +d[columnForRadius]; | |
}), d3.max(data, function(d) { | |
return +d[columnForRadius]; | |
})]).range([2,10]); | |
var colorCircles = d3.scaleOrdinal(d3.schemeCategory10) | |
var forceXSeparate = d3.forceX(function (d){ | |
if(d.PUC_type === '1'){ | |
return 180 | |
} else if (d.PUC_type === '2'){ | |
return 420 | |
} else { | |
return 660 | |
} | |
}).strength(0.08) | |
var forceXCombine = d3.forceX(width / 2).strength(0.05) | |
var forceCollide = d3.forceCollide(function(d){ | |
return scaleRadius(d[columnForRadius]) + 5; | |
}) | |
var simulation = d3.forceSimulation(data) | |
// .force("charge", d3.forceManyBody().strength([-50])) | |
.force('charge', d3.forceManyBody().strength(-8)) | |
.force("x", forceXCombine) | |
.force("y", d3.forceY(height / 2).strength(0.05)) | |
.force("collide", forceCollide) | |
.on("tick", ticked); | |
function ticked(e) { | |
node.attr("cx", function(d) { | |
return d.x; | |
}) | |
.attr("cy", function(d) { | |
return d.y; | |
}); | |
} | |
d3.select("#split").on('click', function(){ | |
simulation | |
.force("x", forceXSeparate) | |
.alphaTarget(0.5) | |
.restart() | |
labels | |
.style("visibility", "visible") | |
}) | |
d3.select("#combine").on('click', function(){ | |
simulation | |
.force("x", forceXCombine) | |
.alphaTarget(0.5) | |
.restart() | |
labels | |
.style("visibility", "hidden") | |
}) | |
///////////////////////////////////// | |
let result = data.map(a => a.gen_cat); | |
function onlyUnique(value, index, self) { | |
return self.indexOf(value) === index; | |
} | |
var unique = result.filter( onlyUnique ); | |
var colors = unique.map(a => colorCircles(a)); | |
for (i=0; i<unique.length; i++) { | |
legendColors.push({title:unique[i], color:colors[i]}) | |
} | |
// unique.forEach((u,i) => legendColors[u] = colors[i]) | |
// function createFriendNode( name ){ | |
// // Create the friend node. | |
// return( | |
// $( "<li>" + name + "</li>" ) | |
// ); | |
// } | |
// console.log(colors); | |
///////////////////////////////////// | |
var node = svg.selectAll("circle") | |
.data(data) | |
.enter() | |
.append("circle") | |
.attr('r', function(d) { | |
// alert(d) | |
return scaleRadius(d[columnForRadius]) + 4 | |
}) | |
.style("fill", function(d) { | |
return colorCircles(d[columnForColors]) | |
}) | |
.attr('class','bubble') | |
.attr('stroke','#004d4d') | |
.attr('stroke-width',0) | |
.on("mouseover", function(d) { | |
d3.select(this) | |
.transition() | |
.duration(347) | |
.attr('stroke-width',1) | |
var matrix = this.getScreenCTM() | |
.translate(+ this.getAttribute("cx"), + this.getAttribute("cy")); | |
tooltip.html("PUC Level: " + d.PUC_type + "<br><b>" + d.gen_cat + "-</b><br><b>-" + d.prod_fam + "-</b><br><b>-" + d.prod_type + "</b><br>" + "Product Count: " + d[columnForRadius]) | |
.style("left", (window.pageXOffset + matrix.e + 15) + "px") | |
.style("top", (window.pageYOffset + matrix.f - 30) + "px"); | |
return tooltip.style("visibility", "visible"); | |
}) | |
.on("mouseout", function() { | |
d3.select(this) | |
.transition() | |
.duration(347) | |
.attr('stroke-width',0) | |
return tooltip.style("visibility", "hidden"); | |
}); | |
} | |
chart.width = function(value) { | |
if (!arguments.length) { | |
return width; | |
} | |
width = value; | |
return chart; | |
}; | |
chart.height = function(value) { | |
if (!arguments.length) { | |
return height; | |
} | |
height = value; | |
return chart; | |
}; | |
return chart; | |
} | |
d3.csv('pucs.csv', function(error, data) { | |
if (error) { | |
console.error('Error getting or parsing the data.'); | |
throw error; | |
} | |
var chart = bubbleChart().width(840).height(500); | |
d3.select('#chart').datum(data).call(chart); | |
console.log(legendColors); | |
$.each(legendColors, function(index, val) { | |
console.log(val); | |
$("div.legend").append('<div class="img-rounded text-center" style="color:#fff;background-color:' + val.color + ';"><b>' + val.title + '</b></div>'); | |
}); | |
}); | |
</script> |
This file contains 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
gen_cat | prod_fam | prod_type | description | PUC_type | num_prods | |
---|---|---|---|---|---|---|
Arts and crafts/Office supplies | 1 | 86 | ||||
Arts and crafts/Office supplies | body paint | body paints, markers, glitters, play cosmetics, and halloween cosmetics | 2 | 20 | ||
Arts and crafts/Office supplies | children's art and toys | 2 | 42 | |||
Arts and crafts/Office supplies | children's art and toys | bubble solution | liquid bubble solutions, including solutions for bubble machines | 3 | 47 | |
Arts and crafts/Office supplies | children's art and toys | crayons | wax crayons for coloring or illustration | 3 | 29 | |
Arts and crafts/Office supplies | children's art and toys | finger paint | non-edible finger paints | 3 | 88 | |
Arts and crafts/Office supplies | children's art and toys | play dough | children's play modeling clays | 3 | 3 | |
Arts and crafts/Office supplies | fabric treatment and dye | 2 | 73 | |||
Arts and crafts/Office supplies | fabric treatment and dye | fabric dye | products for dying fabrics | 3 | 52 | |
Arts and crafts/Office supplies | fabric treatment and dye | fabric paints and sealers | paints or sealers for treating fabrics | 3 | 96 | |
Arts and crafts/Office supplies | fogger | liquid solutions for fogger machines | 2 | 42 | ||
Arts and crafts/Office supplies | general arts and crafts supplies | 2 | 51 | |||
Arts and crafts/Office supplies | general arts and crafts supplies | arts and crafts adhesive | 3 | 75 | ||
Arts and crafts/Office supplies | general arts and crafts supplies | arts and crafts cleaner | solvent-based products for cleaning paint, adhesives, etc. from hands or surfaces | 3 | 73 | |
Arts and crafts/Office supplies | general arts and crafts supplies | arts and crafts finish | shellacs or polyurethane coatings for primarily craft purposes | 3 | 10 | |
Arts and crafts/Office supplies | general arts and crafts supplies | arts and crafts paint | paints and colorants for primarily craft purposes (including acrylic and enamel paints) | 3 | 29 | |
Arts and crafts/Office supplies | general arts and crafts supplies | craft kit | multi-component crafting kits where individual products are not designated | 3 | 31 | |
Arts and crafts/Office supplies | general arts and crafts supplies | flocking | flocking and artificial snow | 3 | 74 | |
Arts and crafts/Office supplies | gun cleaner | products for cleaning interior or exterior of firearms | 2 | 26 | ||
Arts and crafts/Office supplies | home office | 2 | 47 | |||
Arts and crafts/Office supplies | home office | pens and markers | writing utensils containing liquid or gel ink | 3 | 43 | |
Arts and crafts/Office supplies | home office | white out | correction fluids for ink or type | 3 | 94 | |
Arts and crafts/Office supplies | pottery making | 2 | 15 | |||
Arts and crafts/Office supplies | pottery making | glaze | liquid products for glazing craft pottery | 3 | 40 | |
Cleaning products and household care | 1 | 82 | ||||
Cleaning products and household care | air freshener | home air fresheners | 2 | 13 | ||
Cleaning products and household care | bathroom | 2 | 81 | |||
Cleaning products and household care | bathroom | bathroom cleaner | bathtub, tile, and toilet surface cleaners | 3 | 93 | |
Cleaning products and household care | carpet and floor | 2 | 45 | |||
Cleaning products and household care | carpet and floor | carpet cleaner | carpet cleaning products and machine solutions | 3 | 66 | |
Cleaning products and household care | carpet and floor | carpet deodorizer | carpet deodorizers | 3 | 53 | |
Cleaning products and household care | carpet and floor | floor cleaner | hard floor cleaners | 3 | 78 | |
Cleaning products and household care | carpet and floor | floor polish | hard floor shining and waxing products | 3 | 70 | |
Cleaning products and household care | dishwasher and dishes | 2 | 44 | |||
Cleaning products and household care | dishwasher and dishes | automatic dishwashing additive | rinse aids, spot removers, and dishwasher cleaners | 3 | 73 | |
Cleaning products and household care | dishwasher and dishes | automatic dishwashing detergent | detergents for automatic dishwashers | 3 | 51 | |
Cleaning products and household care | dishwasher and dishes | dish soap | hand dish washing liquids and detergents | 3 | 70 | |
Cleaning products and household care | drain | drain openers or digesters | 2 | 59 | ||
Cleaning products and household care | fireplace | miscellaneous fireplace and firepit products | 2 | 90 | ||
Cleaning products and household care | general household cleaning | 2 | 90 | |||
Cleaning products and household care | general household cleaning | bleach | bleaches (including color-safe bleaches) | 3 | 18 | |
Cleaning products and household care | general household cleaning | disinfectant | disinfecting liquids (including wipes) | 3 | 19 | |
Cleaning products and household care | general household cleaning | glass cleaner | glass and window cleaners | 3 | 31 | |
Cleaning products and household care | general household cleaning | surface cleaner | hard surface and kitchen surface cleaners | 3 | 22 | |
Cleaning products and household care | hand cleaner | 2 | 45 | |||
Cleaning products and household care | hand cleaner | hand cleaner | products marketed as hand cleaners (solvent-based) | 3 | 41 | |
Cleaning products and household care | heavy duty cleaner | heavy duty or concentrated multipurpose cleaners | 2 | 98 | ||
Cleaning products and household care | houseplant care | houseplant and cut flower foods, fertilizers, or pesticides | 2 | 90 | ||
Cleaning products and household care | lamp oil/lighter fluid | lighters, lighter fluids, and other indoor fuels | 2 | 11 | ||
Cleaning products and household care | laundry and fabric treatment | 2 | 37 | |||
Cleaning products and household care | laundry and fabric treatment | anti-static spray | anti-static sprays for fabrics | 3 | 65 | |
Cleaning products and household care | laundry and fabric treatment | dry cleaner | dry cleaning fluids or kits for home use | 3 | 46 | |
Cleaning products and household care | laundry and fabric treatment | dryer sheets | dryer fabric softener sheets | 3 | 71 | |
Cleaning products and household care | laundry and fabric treatment | fabric deodorizer | spray fabric deodorizers | 3 | 70 | |
Cleaning products and household care | laundry and fabric treatment | fabric protectant | fabric protectants and wrinkle releasers | 3 | 61 | |
Cleaning products and household care | laundry and fabric treatment | fabric softener | fabric softeners (excluding dryer sheets) | 3 | 14 | |
Cleaning products and household care | laundry and fabric treatment | laundry detergent | laundry detergents and soaps | 3 | 48 | |
Cleaning products and household care | laundry and fabric treatment | laundry fragrance | scent products to be added to wash | 3 | 97 | |
Cleaning products and household care | laundry and fabric treatment | laundry stain remover | stain removers or laundry pre-treatment products | 3 | 12 | |
Cleaning products and household care | laundry and fabric treatment | laundry starch | fabric starches | 3 | 43 | |
Cleaning products and household care | lime remover | products for removing lime or scale from surfaces | 2 | 38 | ||
Cleaning products and household care | metal specific | 2 | 87 | |||
Cleaning products and household care | metal specific | metal polish | cleaning products for metal surfaces | 3 | 82 | |
Cleaning products and household care | oven | 2 | 38 | |||
Cleaning products and household care | oven | oven cleaner | oven and grill cleaners | 3 | 27 | |
Cleaning products and household care | shoes | 2 | 23 | |||
Cleaning products and household care | shoes | shoe polish or protectant | shoe polishes, cleaners, and protectants | 3 | 85 | |
Cleaning products and household care | upholstery specific | 2 | 5 | |||
Cleaning products and household care | upholstery specific | upholstery cleaner | upholstery fabric cleaners | 3 | 29 | |
Cleaning products and household care | wood specific | 2 | 87 | |||
Cleaning products and household care | wood specific | wood polish | wood or furniture dusting or polishing products | 3 | 23 | |
Electronics/small appliances | 1 | 24 | ||||
Electronics/small appliances | computers and accessories/supplies | 2 | 99 | |||
Electronics/small appliances | computers and accessories/supplies | printer ink | ink for inkjet printers | 3 | 7 | |
Electronics/small appliances | computers and accessories/supplies | printer toner | laser printer toners | 3 | 64 | |
Electronics/small appliances | electronics cleaner | miscellaneous products for cleaning home electronic equipment (including surface cleaners or cleaners for interior parts) | 2 | 47 | ||
Home maintenance | 1 | 49 | ||||
Home maintenance | adhesives and adhesive removers | 2 | 66 | |||
Home maintenance | adhesives and adhesive removers | adhesive remover | solvent products for removing adhesives from surfaces | 3 | 39 | |
Home maintenance | adhesives and adhesive removers | multipurpose adhesive | general purpose repair adhesives including all purpose glues, super glue, and epoxies; not including wood glues | 3 | 21 | |
Home maintenance | adhesives and adhesive removers | multipurpose adhesive, two-component | general purpose repair adhesives including all purpose glues, super glue, and epoxies that are packaged as two-components; not including wood glues | 3 | 56 | |
Home maintenance | adhesives and adhesive removers | wood adhesive | adhesives specifically characterized as wood glues | 3 | 37 | |
Home maintenance | caulk/sealant | caulks and sealers for household use, including silicone products | 2 | 83 | ||
Home maintenance | caulk/sealant | caulk/sealant, two-component | caulks and sealers for household use that are packaged as two components | 3 | 53 | |
Home maintenance | concrete | products for patching or cleaning concrete surfaces | 2 | 67 | ||
Home maintenance | corrosion protection | products for protecting metal surfaces from corrosion or removing corrosion | 2 | 99 | ||
Home maintenance | degreaser | products for degreasing indoor surfaces | 2 | 65 | ||
Home maintenance | finish | products for permanently coating and protecting wood surfaces, including polyurethane products | 2 | 22 | ||
Home maintenance | insulation | 2 | 62 | |||
Home maintenance | insulation | spray foam | spray insulation and weatherstripping products | 3 | 51 | |
Home maintenance | lock deicer | products for deicing car or residential locks | 2 | 91 | ||
Home maintenance | lubricant | household maintenance lubricants | 2 | 9 | ||
Home maintenance | paint/stain and related products | 2 | 72 | |||
Home maintenance | paint/stain and related products | oil-based paint | oil or solvent-based home improvement paints | 3 | 45 | |
Home maintenance | paint/stain and related products | paint | home improvement paints | 3 | 14 | |
Home maintenance | paint/stain and related products | paint cleaner | paint removing products for clean-up | 3 | 44 | |
Home maintenance | paint/stain and related products | paint texture | textured paints including ceiling texture | 3 | 86 | |
Home maintenance | paint/stain and related products | paint thinner | paint or lacquer thinners | 3 | 17 | |
Home maintenance | paint/stain and related products | primer | home improvement primers | 3 | 21 | |
Home maintenance | paint/stain and related products | stain | wood stains, including deck stains | 3 | 42 | |
Home maintenance | paint/stain and related products | stripper | paint and finish strippers | 3 | 67 | |
Home maintenance | paint/stain and related products | water-based paint | water-based home improvement paints | 3 | 92 | |
Home maintenance | patch and repair | 2 | 15 | |||
Home maintenance | patch and repair | patch and repair | drywall, ceiling, and joint compounds, spackles, or fillers | 3 | 39 | |
Home maintenance | patch and repair | putty or filler | putty-type crack, hole, and wood fillers | 3 | 45 | |
Home maintenance | plumbing | miscellaneous plumbing repair products (putties, tapes, cements) | 2 | 50 | ||
Home maintenance | refrigerant | air conditioner or other refrigerants | 2 | 29 | ||
Home maintenance | roof | products for roof maintenance or repair, including cleaners, sealers, or coatings | 2 | 30 | ||
Home maintenance | septic system | septic system treatment products | 2 | 73 | ||
Home maintenance | surface sealers | products for coating and protecting household surfaces | 2 | 73 | ||
Home maintenance | surface sealers | glass surface sealer | products for coating and protecting glass household surfaces | 3 | 89 | |
Home maintenance | surface sealers | stone surface sealer | products for coating and protecting stone household surfaces | 3 | 3 | |
Home maintenance | tiling | 2 | 85 | |||
Home maintenance | tiling | grout sealer | products for coating and protecting tile or grout | 3 | 20 | |
Home maintenance | tiling | mortar or grout | products for attaching and grouting tiles | 3 | 76 | |
Home maintenance | welding | miscellaneous welding products including gases, fluxes, and adhesives | 2 | 13 | ||
Landscape/Yard | 1 | 63 | ||||
Landscape/Yard | cleaner | exterior surface (e.g. deck, house, driveway) cleaners | 2 | 32 | ||
Landscape/Yard | grill/camping fuel | grill, lantern and camping stove fuels, including briquets | 2 | 35 | ||
Landscape/Yard | herbicide | herbicides, weed killers, and brush killers | 2 | 72 | ||
Landscape/Yard | lawn fertilizer | fertilizers for lawns, including in combination with pest/weed controllers | 2 | 57 | ||
Landscape/Yard | lawnmower | 2 | 61 | |||
Landscape/Yard | lawnmower | lawnmower fluids | oils and other fluids for lawnmowers or other small yard care equipment | 3 | 19 | |
Landscape/Yard | plants and garden | 2 | 94 | |||
Landscape/Yard | plants and garden | garden care | miscellaneous garden care products not otherwise characterized (e.g. rooting powders) | 3 | 37 | |
Landscape/Yard | plants and garden | garden fertilizer | fertilizers for vegetable or flower gardens, including in combination with pest/weed controllers | 3 | 5 | |
Landscape/Yard | plants and garden | mulch | mulches, including those with weed controllers | 3 | 18 | |
Landscape/Yard | plants and garden | potting soil | potting soil and vermiculite | 3 | 36 | |
Landscape/Yard | plants and garden | trees | miscellaneous tree care products including sealers | 3 | 23 | |
Landscape/Yard | pool | 2 | 54 | |||
Landscape/Yard | pool | pool chemicals | general chemical products for pools, hot tubs, and spas | 3 | 92 | |
Landscape/Yard | pool | pool chemicals - algaecidal | algaecidal products for pools, hot tubs, and spas | 3 | 85 | |
Landscape/Yard | pool | pool chemicals - chlorine-based | chlorinating products for pools, hot tubs, and spas | 3 | 53 | |
Landscape/Yard | pool | pool chemicals - pH control | pH control products for pools, hot tubs, and spas | 3 | 13 | |
Landscape/Yard | pool | pool chemicals - shock | shock products for pools, hot tubs, and spas | 3 | 69 | |
Landscape/Yard | surface deicer | products for deicing surfaces | 2 | 40 | ||
Personal care | 1 | 16 | ||||
Personal care | acne treatment | 2 | 61 | |||
Personal care | acne treatment | acne spot treatment | creams and wipes for spot-treating acne | 3 | 74 | |
Personal care | acne treatment | face scrub | facial cleansing products containing exfoliating particles, for acne treatment | 3 | 67 | |
Personal care | acne treatment | face wash | facial cleansing products (excluding scrubs), for acne treatment | 3 | 20 | |
Personal care | bite relief | soothing treatments for insect bites | 2 | 2 | ||
Personal care | body adhesive | adhesive products for attaching accessories to skin | 2 | 80 | ||
Personal care | body care set | multicomponent body care or bath set for which individual products are not designated | 2 | 46 | ||
Personal care | body hygiene | 2 | 51 | |||
Personal care | body hygiene | bar soap | bar and other solid soaps | 3 | 31 | |
Personal care | body hygiene | body scrub | body cleaners containing abrasives or exfoliants | 3 | 45 | |
Personal care | body hygiene | body wash | body cleaners, washes, shower gels | 3 | 25 | |
Personal care | body hygiene | body wipes | body wipes and towelettes (excluding diaper or baby wipes) | 3 | 43 | |
Personal care | body hygiene | hand sanitizer | antibacterial products for hands | 3 | 81 | |
Personal care | body hygiene | hand soap | liquid hand soaps | 3 | 10 | |
Personal care | body hygiene | hand wipes | wipes and solution primarily for hands | 3 | 96 | |
Personal care | body oil | body oils (not including baby or bath oils) | 2 | 58 | ||
Personal care | body powder | talcum and dusting powders for the body | 2 | 62 | ||
Personal care | child specific | 2 | 92 | |||
Personal care | child specific | baby lotion | baby cream or lotion (excluding diaper creams) | 3 | 12 | |
Personal care | child specific | baby oil | skin oils specifically marketed for babies | 3 | 68 | |
Personal care | child specific | baby powder | powders specifically marketed for babies | 3 | 25 | |
Personal care | child specific | baby shampoo | shampoos specifically marketed for babies | 3 | 77 | |
Personal care | child specific | baby wash | body washes and cleaners specifically marketed for babies | 3 | 95 | |
Personal care | child specific | baby wipes | diaper and other baby wipes | 3 | 40 | |
Personal care | child specific | bath paints/crayons | bath paints or bath crayons | 3 | 66 | |
Personal care | child specific | diaper cream | diaper creams and ointments | 3 | 28 | |
Personal care | dental care | 2 | 81 | |||
Personal care | dental care | denture adhesive | denture adhesives | 3 | 72 | |
Personal care | dental care | denture cleaner | denture cleansers | 3 | 57 | |
Personal care | dental care | mouthwash | antiseptic and dental mouthwashes and rinses | 3 | 81 | |
Personal care | dental care | teeth whitener | teeth whitening products (excluding toothpastes) | 3 | 36 | |
Personal care | dental care | toothpaste | toothpastes and dentrifices | 3 | 67 | |
Personal care | deodorant | deodorants and antiperspirants | 2 | 68 | ||
Personal care | eye care and contacts | 2 | 75 | |||
Personal care | eye care and contacts | contact care | contact lense cleaners and solutions | 3 | 23 | |
Personal care | eye care and contacts | eye cream | creams and moisturizers for specific treatment of eye area | 3 | 92 | |
Personal care | eye care and contacts | eye drops | products for lubricating eyes or treating redness | 3 | 10 | |
Personal care | eye care and contacts | eye products | products for use around or in the eye that are not otherwise categorized | 3 | 43 | |
Personal care | eye care and contacts | eyelid spray | sprays for moisturizing the eyelid | 3 | 22 | |
Personal care | facial cleansing and moisturizing | 2 | 98 | |||
Personal care | facial cleansing and moisturizing | face cleansing wipes | textile wipes or pads treated with cleansing solution | 3 | 96 | |
Personal care | facial cleansing and moisturizing | face cream/moisturizer | moisturizers, lotions, and creams for primarily treating the face (excluding eye-specific products) | 3 | 74 | |
Personal care | facial cleansing and moisturizing | face mask | leave-on masks or peels for treatment of the face | 3 | 98 | |
Personal care | facial cleansing and moisturizing | face scrub | facial cleansing products containing exfoliating particles (excluding products for acne) | 3 | 93 | |
Personal care | facial cleansing and moisturizing | face wash | facial cleansing products (excluding scrubs and products for acne) | 3 | 86 | |
Personal care | foot care | miscellaneous products for application to feet, including scrubs, lotions, and deodorants | 2 | 48 | ||
Personal care | fragrance | fragrances, colognes, and perfumes | 2 | 2 | ||
Personal care | general moisturizing | 2 | 66 | |||
Personal care | general moisturizing | hand/body lotion | lotions and creams primarily for hands and body | 3 | 90 | |
Personal care | glitter | powder products containing reflective particles for face or body | 2 | 36 | ||
Personal care | hair coloring | general hair coloring products | 2 | 89 | ||
Personal care | hair coloring | hair bleach | products for lightening or removing color from hair on the head | 3 | 66 | |
Personal care | hair coloring | hair color - permanent | hair colors and dyes characterized as permanent | 3 | 99 | |
Personal care | hair coloring | hair color - professional | hair colors and dyes characterized as for professional use | 3 | 42 | |
Personal care | hair coloring | hair color - temporary | hair colors and dyes characterized as temporary | 3 | 84 | |
Personal care | hair coloring | hair color activator | chemical activators for hair coloring products | 3 | 28 | |
Personal care | hair coloring | hair color developer | chemical developers for hair coloring products | 3 | 75 | |
Personal care | hair coloring | hair color toner | chemical toners for hair coloring products | 3 | 73 | |
Personal care | hair styling and care | 2 | 55 | |||
Personal care | hair styling and care | dry shampoo | dry shampoos for removing hair oils | 3 | 41 | |
Personal care | hair styling and care | ethnic hair care | products for ethnic hair care, including wrap set lotions and pressing lotions (excluding relaxers) | 3 | 19 | |
Personal care | hair styling and care | hair conditioner - leave-in | leave-in everyday hair conditioners and detanglers | 3 | 80 | |
Personal care | hair styling and care | hair conditioner - rinse-out | rinse-out everyday hair conditioners (excluding combo shampoo/conditioner products) | 3 | 73 | |
Personal care | hair styling and care | hair conditioning treatment | hair conditioning and moisturizing treatments for occasional use | 3 | 33 | |
Personal care | hair styling and care | hair conditioning treatment - professional | hair conditioning and moisturizing treatments for occasional use characterized as for professional use | 3 | 95 | |
Personal care | hair styling and care | hair relaxer | chemical hair relaxers | 3 | 49 | |
Personal care | hair styling and care | hair spray | spray fixatives for hair | 3 | 22 | |
Personal care | hair styling and care | hair styling | hair styling products for hold, shine, or texture | 3 | 89 | |
Personal care | hair styling and care | hair styling - gel | hair styling products for hold, shine, or texture (gel formulation indicated) | 3 | 14 | |
Personal care | hair styling and care | hair styling - mousse | foaming hair styling products | 3 | 64 | |
Personal care | hair styling and care | lice shampoo | shampoos for the treatment of head lice | 3 | 97 | |
Personal care | hair styling and care | scalp treatment | products for treating the scalp, including products dandruff or hair loss | 3 | 39 | |
Personal care | hair styling and care | shampoo | shampoos, including dual shampoo/conditioner products | 3 | 7 | |
Personal care | hair styling and care | shampoo - dandruff | shampoos, including dual shampoo/conditioner products for treatment of dandruff | 3 | 52 | |
Personal care | liniment | liniments and ointments for treatment of muscle or joint pain | 2 | 25 | ||
Personal care | make-up and related | 2 | 25 | |||
Personal care | make-up and related | blush/bronzer | cheek blushes, bronzers, and rouges | 3 | 26 | |
Personal care | make-up and related | cosmetic tool cleaner | products for cleaning makeup sponges, brushes, or other cosmetic tools | 3 | 23 | |
Personal care | make-up and related | eye liner | eye liners or brow coloring products | 3 | 14 | |
Personal care | make-up and related | eye makeup | miscellaneous cosmetic eye products including lash adhesives and tints | 3 | 61 | |
Personal care | make-up and related | eye shadow | products for coloring eye lids | 3 | 63 | |
Personal care | make-up and related | face powder | pressed or loose powders for face | 3 | 94 | |
Personal care | make-up and related | foundation/concealer | liquid or cream foundation make-ups and concealers | 3 | 80 | |
Personal care | make-up and related | lip balm | lip products primarily for protection | 3 | 44 | |
Personal care | make-up and related | lip color | colored lip products, excluding glosses | 3 | 46 | |
Personal care | make-up and related | lip gloss | glossy lip products | 3 | 91 | |
Personal care | make-up and related | lip liner | pencils for lining lips | 3 | 73 | |
Personal care | make-up and related | makeup primer | products for priming face for make-up | 3 | 47 | |
Personal care | make-up and related | makeup remover | products for removing face make-ups | 3 | 12 | |
Personal care | make-up and related | makeup set | multicomponent make-up set set for which individual products are not designated | 3 | 84 | |
Personal care | make-up and related | mascara | eyelash mascaras | 3 | 78 | |
Personal care | make-up and related | toner | face and skin toners and astringents | 3 | 20 | |
Personal care | nails | products for nail or cuticle treatment or decoration | 2 | 74 | ||
Personal care | nails | nail adhesive | adhesives for reparing fingernails or attaching artificial nails | 3 | 58 | |
Personal care | nails | nail polish | clear or colored nail enamels, polishes, basecoats, topcoats, and other acrylic coatings | 3 | 77 | |
Personal care | nails | nail polish remover | products for removing nail polish or artificial nails | 3 | 99 | |
Personal care | self-tanner | chemical products for tanning, staining, or coloring the skin | 2 | 78 | ||
Personal care | sexual wellness | sexual wellness products, including personal lubricants | 2 | 84 | ||
Personal care | shaving and hair removal | 2 | 22 | |||
Personal care | shaving and hair removal | aftershave | lotions, balms, liquids, and gels for post-shave applications (usually fragranced) | 3 | 94 | |
Personal care | shaving and hair removal | clipper lubricant/cleaner | cleaning and lubricating products for hair clippers | 3 | 29 | |
Personal care | shaving and hair removal | depilatory | chemical products for removal of body or facial hair | 3 | 64 | |
Personal care | shaving and hair removal | shaving cream | shaving creams, foams, balms and soaps | 3 | 18 | |
Personal care | shaving and hair removal | waxing | wax products for removing hair from face or body | 3 | 78 | |
Personal care | specialized bath products | 2 | 4 | |||
Personal care | specialized bath products | bath oil | bath oils or oil-filled beads | 3 | 59 | |
Personal care | specialized bath products | bath salts | bath salts, soaks, and fizzes | 3 | 14 | |
Personal care | specialized bath products | bubble bath | bubble baths | 3 | 5 | |
Personal care | sunscreen | suncreens and blocks | 2 | 80 | ||
Pesticides | 1 | 4 | ||||
Pesticides | animal repellent | chemical animal repellents | 2 | 56 | ||
Pesticides | fungicide | fungicides for garden or home use | 2 | 92 | ||
Pesticides | insect repellent | products for repelling insects | 2 | 79 | ||
Pesticides | insect repellent | insect repellent - exterior | products for repelling insects, exterior use indicated | 3 | 7 | |
Pesticides | insect repellent | insect repellent - skin | products for repelling insects from skin | 3 | 98 | |
Pesticides | insecticide | insecticides, including for home interiors, lawn and gardens | 2 | 25 | ||
Pesticides | rodenticide | rodenticides | 2 | 86 | ||
Pet care | 1 | 73 | ||||
Pet care | all pets | 2 | 7 | |||
Pet care | all pets | other pet treatments | miscellaneous pet treatments (excluding pesticides) | 3 | 17 | |
Pet care | all pets | pesticide - pet | pesticides for application to pets | 3 | 18 | |
Pet care | all pets | pet shampoo | pet shampoos (including those contain pesticides) | 3 | 8 | |
Pet care | all pets | pet stain cleaner | carpet and upholstery cleaners for pet stains | 3 | 3 | |
Pet care | cats | 2 | 10 | |||
Pet care | cats | cat litter | cat litters | 3 | 80 | |
Pet care | fish | 2 | 85 | |||
Pet care | fish | aquarium | miscellaneous aquarium treatment products | 3 | 27 | |
Sports equipment | 1 | 6 | ||||
Sports equipment | bicycling | 2 | 92 | |||
Sports equipment | bicycling | bicycle cleaner | washes and rinses for cleaning bicycles | 3 | 6 | |
Sports equipment | fishing | 2 | 21 | |||
Sports equipment | fishing | reel oil | lubricants for fishing reels | 3 | 23 | |
Sports equipment | skiing | 2 | 2 | |||
Sports equipment | skiing | wax | waxes for treating skis or snowboards | 3 | 87 | |
Vehicle | 1 | 85 | ||||
Vehicle | auto body work | 2 | 67 | |||
Vehicle | auto body work | auto paint | paints and primers for auto body or engine | 3 | 58 | |
Vehicle | auto body work | body repair | products for repairing auto body exteriors, including bondo-type products and scratch fillers | 3 | 70 | |
Vehicle | auto body work | detailing | products for cleaning, polishing, or protecting car interior surfaces, apholstery, leather, carpeting, tires, or rims | 3 | 39 | |
Vehicle | auto body work | windows/windshield | products for washing or protecting windshields or windows | 3 | 33 | |
Vehicle | boat care and maintenance | 2 | 83 | |||
Vehicle | boat care and maintenance | boat cleaner - deck care | cleaners, washes, and polishes for cleaning marine decking | 3 | 48 | |
Vehicle | boat care and maintenance | boat cleaner - general | other cleaners, washes, and polishes for exterior marine applications | 3 | 90 | |
Vehicle | boat care and maintenance | boat cleaner - hull care | cleaners, washes, and polishes for cleaning marine hulls applications | 3 | 71 | |
Vehicle | boat care and maintenance | boat engine fluids | engine fluids for marine applications | 3 | 13 | |
Vehicle | car interior | 2 | 4 | |||
Vehicle | car interior | auto air freshener | air fresheners for car interiors, including products for vents | 3 | 68 | |
Vehicle | car surface treatment | body cleaner | cleaners, shampoos, and washes for auto body exterior (not including wax or combination products) | 3 | 6 | |
Vehicle | car surface treatment | body wax | auto body waxes and coatings | 3 | 74 | |
Vehicle | car surface treatment | combination product | combination wash and wax products | 3 | 79 | |
Vehicle | car surface treatment | degreaser | auto, engine and brake degreasers | 3 | 54 | |
Vehicle | care surface treatment | 2 | 99 | |||
Vehicle | engine maintenance | 2 | 25 | |||
Vehicle | engine maintenance | antifreeze | antifreeze and/or coolant solutions for motorized vehicles | 3 | 45 | |
Vehicle | engine maintenance | auto fluids and additives | power steering fluids, transmission fluids, brake fluids, fuel injector cleaners, gas treatments, or leak stoppers | 3 | 76 | |
Vehicle | engine maintenance | auto lubricant | engine lubricants and belt dressings, not including motor oils | 3 | 57 | |
Vehicle | engine maintenance | auto refrigerant | refrigerants and freon products for auto applications | 3 | 64 | |
Vehicle | engine maintenance | motor oil | petroleum-based or synthetic engine lubricants | 3 | 60 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment