", glassX)\n  .attr(\"y\", waterY)\n  .attr(\"width\", glassWidth)\n  .attr(\"height\", waterHeight)\n  .attr(\"fill\", fillColor)\n  .attr(\"rx\", 5);\n\n// Hover wiggle animation\nglassGroup\n  .style(\"cursor\", \"pointer\")\n  .on(\"mouseover\", function () {\n    d3.select(this)\n      .transition()\n      .duration(100)\n      .attr(\"transform\", `rotate(-2,${width / 2},${height / 2})`)\n      .transition()\n      .duration(100)\n      .attr(\"transform\", `rotate(2,${width / 2},${height / 2})`)\n   