In this particular example I got from d3noob.org, there is a json file with objects that have 2 keys (date and close). What if I don't know the key names of the json file and I have to use a string variable? For example :