i am trying to plot the bar, pie and bubble chart for the following geojson data stored locally in a myfile.geojson
. Through stack overflow i got to know how to do pie chart. Taking it as a reference i am trying to do the bar chart. I tried but i am not getting it. here is the code of geojson file.
{
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"properties": {
"profit": 326,
"npa": 174.000000
}
}, {
"type": "Feature",
"properties": {
"profit": 1762,
"npa": 1683.000000
}
}]
}
The code which i tried is in this plunker link
I am new to d3. Up to my knowledge i tried. Thanks in advance
I wasn't able to completely solve but a few suggestions. Hope it helps and others can edit this or contribute better answer.