p = svg.append(\"g\");\n\n// Draw left side of the glass\nglassGroup.append(\"line\")\n  .attr(\"x1\", glassX)\n  .attr(\"y1\", glassY)\n  .attr(\"x2\", glassX)\n  .attr(\"y2\", glassY + glassHeight)\n  .attr(\"stroke\", strokeColor)\n  .attr(\"stroke-width\", strokeWidth);\n\n// Draw right side of the glass\nglassGroup.append(\"line\")\n  .attr(\"x1\", glassX + glassWidth)\n  .attr(\"y1\", glassY)\n  .attr(\"x2\", glassX + glassWidth)\n  .attr(\"y2\", glassY + glassHeight)\n  .attr(\"stroke\", strokeColor)