Here are a few gotchas.
- If you are working on a local server, you can mix
httpssource files. But if you want to see things on the bl.ocks website, everything needs to be at the same security level. You browser will not tell you about this problem. I would default to
https. For leaflet you need:
whereas D3 is:
- Another thing is that you might want to add some leaflet plugins. These are great but you MUST add the link to the plugin AFTER you have provided the leaflet script, like this: