core of a bar chart with SVG this time