Closed danwwilson closed 9 years ago
I think you just have a typo dataUrl
. Another issue you might run into is that of cross-origin requests being disallowed. If you are saving the map, I would recommend putting the json
file in the same path, to prevent the issue.
I am trying to replicate the outcomes reached from issue #6 however I can't seem to get my map to display.
My code is
At this point I am just trying to get my map to display. Prior to trying to doing a choropleth based on data I have for the states. Any assistance would be greatly appreciated. As a side note I have managed to get my custom topojson to show on the screen following Mike Bostock's tutorial (http://bost.ocks.org/mike/map/).
Ultimately I'd love to be able to do this using a leaflet map to sit underneath it all and show a greater level of detail, but will be happy just getting this bit working to start with.