Version submitted to stackoverflow.com. JSON has array. HTML has two SVG shapes with an unused data-key attribute. JS using the original loop. on click bound to each shape, retrieving ID, but ID not bound to get JSON. Gary from stackoverflow recommends loading JSON on page load and then use array, but I need to figure out how to do that.