Commit d3f855ae authored by Mike Bostock's avatar Mike Bostock

Rename d3.v3.js to d3.js.

We'll still use the major-versioned name file for d3js.org, but this is simpler.
parent 3fe30782
......@@ -7,14 +7,14 @@ JS_TESTER = $(NODE_PATH)/vows/bin/vows
LOCALE ?= en_US
all: \
d3.v3.js \
d3.v3.min.js \
d3.js \
d3.min.js \
component.json \
package.json
# Modify this rule to build your own custom release.
.INTERMEDIATE d3.v3.js: \
.INTERMEDIATE d3.js: \
src/start.js \
d3.core.js \
d3.scale.js \
......
{
"name": "d3",
"version": "3.0.0pre",
"main": "./d3.v2.js"
"main": "./d3.js"
}
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Albers Projection</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<script type="text/javascript" src="../../lib/jquery/jquery.min.js"></script>
<script type="text/javascript" src="../../lib/jquery-ui/jquery-ui.min.js"></script>
<style type="text/css">
......
......@@ -30,7 +30,7 @@ body {
</style>
<body>
<script src="../../d3.v2.js"></script>
<script src="../../d3.js"></script>
<script>
var data = d3.range(40).map(function(i) {
......
......@@ -14,7 +14,7 @@
</style>
<body>
<script src="../../d3.v2.js"></script>
<script src="../../d3.js"></script>
<script>
var data = d3.range(120).map(function(i) {
......
......@@ -14,7 +14,7 @@
</style>
<body>
<script src="../../d3.v2.js"></script>
<script src="../../d3.js"></script>
<script>
var data = d3.range(120).map(function(i) {
......
......@@ -30,7 +30,7 @@ body {
</style>
<body>
<script src="../../d3.v2.js"></script>
<script src="../../d3.js"></script>
<script>
var data = d3.range(40).map(function(i) {
......
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body {
......
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body {
......
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body {
......
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body {
......
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body {
......
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body {
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Azimuthal Projection</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<script type="text/javascript" src="../../lib/jquery/jquery.min.js"></script>
<script type="text/javascript" src="../../lib/jquery-ui/jquery-ui.min.js"></script>
<link type="text/css" rel="stylesheet" href="azimuthal.css"/>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Hierarchical Bar Chart</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
text {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Bar Chart</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body {
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Bonne Projection</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<script type="text/javascript" src="../../lib/jquery/jquery.min.js"></script>
<script type="text/javascript" src="../../lib/jquery-ui/jquery-ui.min.js"></script>
<style type="text/css">
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Box Plot Charts</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="../button.css"/>
<link type="text/css" rel="stylesheet" href="box.css"/>
</head>
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Brush</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
svg {
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Brush</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
svg {
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Brush</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
svg {
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Brush</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
svg {
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Brush</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
svg {
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Bubble Chart</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="bubble.css"/>
</head>
<body>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Bullet Charts</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="../button.css"/>
<link type="text/css" rel="stylesheet" href="bullet.css"/>
</head>
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Hierarchical Edge Bundling (Radial Tree)</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<script type="text/javascript" src="packages.js"></script>
<link type="text/css" rel="stylesheet" href="bundle-radial.css"/>
</head>
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Hierarchical Edge Bundling (Treemap)</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<script type="text/javascript" src="../../lib/colorbrewer/colorbrewer.js"></script>
<script type="text/javascript" src="packages.js"></script>
<link type="text/css" rel="stylesheet" href="bundle-treemap.css"/>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>DJI</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>DJI</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="../../lib/colorbrewer/colorbrewer.css"/>
<link type="text/css" rel="stylesheet" href="calendar.css"/>
</head>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>VIX</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="../../lib/colorbrewer/colorbrewer.css"/>
<link type="text/css" rel="stylesheet" href="calendar.css"/>
</head>
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Non-Contiguous Cartogram</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="cartogram.css"/>
</head>
<body>
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Demers Cartogram</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="demers.css"/>
</head>
<body>
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Dorling Cartogram</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="dorling.css"/>
</head>
<body>
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Chord Diagram</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body {
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Chord Diagram</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="chord.css"/>
</head>
<body>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
svg {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
svg {
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>U.S. Unemployment by County</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="choropleth.css"/>
<link type="text/css" rel="stylesheet" href="../../lib/colorbrewer/colorbrewer.css"/>
</head>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Polar Clock</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="clock.css"/>
</head>
<body>
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Flare Dendrogram</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="cluster.css"/>
</head>
<body>
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Flare Dendrogram</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="cluster.css"/>
</head>
<body>
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Contour</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
svg {
border: solid 1px #aaa;
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Crimean War</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
svg {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Crimean War</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
svg {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Custom Elements</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body {
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Delaunay Triangulation</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
@import url("../../lib/colorbrewer/colorbrewer.css");
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Donut Chart</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Dot Plot</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body {
......
......@@ -11,7 +11,7 @@ svg {
</style>
</head>
<body>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<script type="text/javascript">
var width = 960,
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Force-Directed Layout</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
circle {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Clustered Network</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
svg {
border: 1px solid #ccc;
......
......@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Force-Directed Graph</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
circle.node {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Force-Directed Layout (Dynamic)</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
rect {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Force-Directed Layout</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
div.node {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Force-Directed Map</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
path {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Force-Directed Layout (Multiple Foci)</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
</head>
<body>
<div id="chart"></div>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Force-Directed Layout</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<link type="text/css" rel="stylesheet" href="force.css"/>
</head>
<body>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Great Arc</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
#states path {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Hello, data!</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
</head>
<body>
Your lucky numbers are:<br>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Hello, data!</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body, td {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Hello, data!</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body, td {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Hello, data!</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
</head>
<body>
Your lucky numbers are:<br>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Hello, world!</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
</head>
<body>
Your lucky numbers are:<br>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Hello, node!</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
</head>
<body>
Your lucky numbers are:<br>
......
......@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
</head>
<body>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<script type="text/javascript">
var div = d3.select("body").selectAll("div")
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Hello, sort!</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
html, body, svg {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Hello, world!</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
</head>
<body>
Your lucky numbers are:<br>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Hello, transition undefined!</title>
<script type="text/javascript" src="../../d3.v2.js"></script>
<script type="text/javascript" src="../../d3.js"></script>
<style type="text/css">
body {
......
......@@ -2,7 +2,7 @@
<html>
<head>
<title>Hello, transition!</title>