I wanted to make a chopleth with d3.js in a Jekyll draft.
But somehow Jekyll is changing my JSON file from
{"type":"FeatureCollection", "features":[{"type":"Feature", "id":"01",
to
{"type"=>"FeatureCollection", "features"=>[{"type"=>"Feature", "id"=>"01",
I wanted jekyll to put my json file inside d3.json() function, like this:
d3.json({{site.data.us-states}}, function(json){
svg.selectAll("path") blah blah
where us-states is my us-states.json file but heckin Jekyll is putting everywhere =>
Is anyone able to help me?