Accepted answer

You can retreive JSON data using d3 as follows;

d3.json("/path/to/json", function(d) {
    //rendering code

and then, inside the callback function (in place of rendering code) you can access the JSON data using the variable "d".

The following summerizes the general procedure to follow after retreiving the data;

//Create a svg
svg ="selector_to_some_DOM_element").append("svg");

//Then append text for each data JSON entry
        .data(d) //received data
        .text(function (d) { //add some text
            //using OccurrenceFrequency
            return d.OccurrenceFrequency

You can read more detailed d3 JSON data management at

Related Query