From c34cd15077c7bb1ac77cc3f0cd990a1de413103c Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Fri, 11 Feb 2011 17:35:21 -0800 Subject: [PATCH] Add color-by-area with zoom example. This uses d3.geo.path to compute the projected area (in square pixels) of each county in the choropleth. It also usees d3.behavior.zoom to add geometric pan and zoom. --- examples/choropleth/choropleth-area.html | 55 ++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 examples/choropleth/choropleth-area.html diff --git a/examples/choropleth/choropleth-area.html b/examples/choropleth/choropleth-area.html new file mode 100644 index 00000000..dec44b93 --- /dev/null +++ b/examples/choropleth/choropleth-area.html @@ -0,0 +1,55 @@ + + + + + + + + + + + + + +