diff --git a/index.html b/index.html
index 5286c84b0..fd25cafe4 100644
--- a/index.html
+++ b/index.html
@@ -20,7 +20,6 @@
-
diff --git a/js/lib/d3.jsonp.js b/js/lib/d3.jsonp.js
deleted file mode 100644
index fba9951a9..000000000
--- a/js/lib/d3.jsonp.js
+++ /dev/null
@@ -1,27 +0,0 @@
-d3.jsonp = function (url, callback) {
-
- function rand() {
- var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',
- c = '', i = -1;
- while (++i < 15) c += chars.charAt(Math.floor(Math.random() * 52));
- return c;
- }
-
- function create(url) {
- var e = url.match(/callback=d3.jsonp.(\w+)/),
- c = e ? e[1] : rand();
- d3.jsonp[c] = function(data) {
- callback(data);
- delete d3.jsonp[c];
- script.remove();
- };
- return 'd3.jsonp.' + c;
- }
-
- var cb = create(url),
- script = d3.select('head')
- .append('script')
- .attr('type', 'text/javascript')
- .attr('src', url.replace(/({|%7B)callback({|%7D)/, cb));
-
-};
diff --git a/test/data/foo.jsonp b/test/data/foo.jsonp
deleted file mode 100644
index 5266fcbdc..000000000
--- a/test/data/foo.jsonp
+++ /dev/null
@@ -1 +0,0 @@
-d3.jsonp.foo('foo');
diff --git a/test/index.html b/test/index.html
index 087662d24..0b3312ab2 100644
--- a/test/index.html
+++ b/test/index.html
@@ -24,7 +24,6 @@
-
diff --git a/test/spec/lib/jsonp.js b/test/spec/lib/jsonp.js
deleted file mode 100644
index 764a8a58d..000000000
--- a/test/spec/lib/jsonp.js
+++ /dev/null
@@ -1,7 +0,0 @@
-describe('JSONP', function() {
- it('can request data', function() {
- d3.jsonp('data/foo.jsonp?callback=d3.jsonp.foo', function(d) {
- expect(d).to.eql('foo');
- });
- });
-});