An SVG basic Bar chart with a custom event listener