So I have a simple SVG element (copied below), and I want to display text (currently within the data-label attribute) when the rectangle with the bar
data-label
bar
div>svg:hover { box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.589); transform: scale(1.2); transition: all 0.2s ease-in-out; } div>svg { margin: 10px 14px; padding: 8px; width: 35px; height: 35px; border-radius: 50%; }