{% extends 'base_map.html' %} {% set mytitle="D3 Map" %} {# ----------- title -------------- #} {% block title %}{{ mytitle }}{% endblock %} {# ----------- content ------------- #} {% block content %}
This page uses D3 to make a map. This is quite a bit different from making maps with Leaflet, or dealing with GeoJSON with Python. (To begin with, it uses a different format called TopoJSON).
This relied heavily on the D3 tutorial here. More information on how I set this up can be found at charlesreid1.com/wiki/D3_Map.
{% endblock %}