Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MUR Drupal
d3-library
Commits
907a4255
Commit
907a4255
authored
Jun 19, 2016
by
Mike Bostock
Browse files
Add d3-geo; update dependencies.
parent
803e6c82
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
115 additions
and
27 deletions
+115
-27
README.md
README.md
+54
-0
index.js
index.js
+31
-0
package.json
package.json
+28
-27
test/d3-test.js
test/d3-test.js
+2
-0
No files found.
README.md
View file @
907a4255
...
...
@@ -32,6 +32,7 @@ D3 4.0 is a [collection of modules](https://github.com/d3) that are designed to
*
[
Dragging
](
#dragging-d3-drag
)
*
[
Easings
](
#easings-d3-ease
)
*
[
Forces
](
#forces-d3-force
)
*
[
Geographies
](
#geographies-d3-geo
)
*
[
Hierarchies
](
#hierarchies-d3-hierarchy
)
*
[
Interpolators
](
#interpolators-d3-interpolate
)
*
[
Number Formats
](
#number-formats-d3-format
)
...
...
@@ -353,6 +354,59 @@ Force-directed graph layout using velocity Verlet integration.
*
[
*y*.strength
](
https://github.com/d3/d3-force#y_strength
)
- set the force strength.
*
[
*y*.y
](
https://github.com/d3/d3-force#y_y
)
- set the target
*y*
-coordinate.
## [Geographies (d3-geo)](https://github.com/d3/d3-geo)
Geographic projections, shapes and math.
*
[
d3.geoArea
](
https://github.com/d3/d3-geo#geoArea
)
-
*
[
d3.geoBounds
](
https://github.com/d3/d3-geo#geoBounds
)
-
*
[
d3.geoCentroid
](
https://github.com/d3/d3-geo#geoCentroid
)
-
*
[
d3.geoCircle
](
https://github.com/d3/d3-geo#geoCircle
)
-
*
[
d3.geoClipExtent
](
https://github.com/d3/d3-geo#geoClipExtent
)
-
*
[
d3.geoDistance
](
https://github.com/d3/d3-geo#geoDistance
)
-
*
[
d3.geoGraticule
](
https://github.com/d3/d3-geo#geoGraticule
)
-
*
[
d3.geoInterpolate
](
https://github.com/d3/d3-geo#geoInterpolate
)
-
*
[
d3.geoLength
](
https://github.com/d3/d3-geo#geoLength
)
-
*
[
d3.geoRotation
](
https://github.com/d3/d3-geo#geoRotation
)
-
*
[
d3.geoStream
](
https://github.com/d3/d3-geo#geoStream
)
-
*
[
d3.geoTransform
](
https://github.com/d3/d3-geo#geoTransform
)
-
### [Geographic Projections](https://github.com/d3/d3-geo#geographic-projections)
*
[
d3.geoPath
](
https://github.com/d3/d3-geo#geoPath
)
-
*
[
*path*
](
https://github.com/d3/d3-geo#_path
)
-
*
[
*path*.area
](
https://github.com/d3/d3-geo#path_area
)
-
*
[
*path*.bounds
](
https://github.com/d3/d3-geo#path_bounds
)
-
*
[
*path*.centroid
](
https://github.com/d3/d3-geo#path_centroid
)
-
*
[
*path*.projection
](
https://github.com/d3/d3-geo#path_projection
)
-
*
[
*path*.context
](
https://github.com/d3/d3-geo#path_context
)
-
*
[
*path*.pointRadius
](
https://github.com/d3/d3-geo#path_pointRadius
)
-
*
[
d3.geoProjection
](
https://github.com/d3/d3-geo#geoProjection
)
-
*
[
*projection*
](
https://github.com/d3/d3-geo#_projection
)
-
*
[
*projection*.invert
](
https://github.com/d3/d3-geo#projection_invert
)
-
*
[
*projection*.stream
](
https://github.com/d3/d3-geo#projection_stream
)
-
*
[
*projection*.clipAngle
](
https://github.com/d3/d3-geo#projection_clipAngle
)
-
*
[
*projection*.clipExtent
](
https://github.com/d3/d3-geo#projection_clipExtent
)
-
*
[
*projection*.scale
](
https://github.com/d3/d3-geo#projection_scale
)
-
*
[
*projection*.translate
](
https://github.com/d3/d3-geo#projection_translate
)
-
*
[
*projection*.center
](
https://github.com/d3/d3-geo#projection_center
)
-
*
[
*projection*.rotate
](
https://github.com/d3/d3-geo#projection_rotate
)
-
*
[
*projection*.precision
](
https://github.com/d3/d3-geo#projection_precision
)
-
*
[
d3.geoProjectionMutator
](
https://github.com/d3/d3-geo#geoProjectionMutator
)
-
*
[
d3.geoAlbers
](
https://github.com/d3/d3-geo#geoAlbers
)
-
*
[
d3.geoAlbersUsa
](
https://github.com/d3/d3-geo#geoAlbersUsa
)
-
*
[
d3.geoAzimuthalEqualArea
](
https://github.com/d3/d3-geo#geoAzimuthalEqualArea
)
-
*
[
d3.geoAzimuthalEquidistant
](
https://github.com/d3/d3-geo#geoAzimuthalEquidistant
)
-
*
[
d3.geoConicConformal
](
https://github.com/d3/d3-geo#geoConicConformal
)
-
*
[
d3.geoConicEqualArea
](
https://github.com/d3/d3-geo#geoConicEqualArea
)
-
*
[
d3.geoConicEquidistant
](
https://github.com/d3/d3-geo#geoConicEquidistant
)
-
*
[
d3.geoEquirectangular
](
https://github.com/d3/d3-geo#geoEquirectangular
)
-
*
[
d3.geoGnomonic
](
https://github.com/d3/d3-geo#geoGnomonic
)
-
*
[
d3.geoMercator
](
https://github.com/d3/d3-geo#geoMercator
)
-
*
[
d3.geoOrthographic
](
https://github.com/d3/d3-geo#geoOrthographic
)
-
*
[
d3.geoStereographic
](
https://github.com/d3/d3-geo#geoStereographic
)
-
*
[
d3.geoTransverseMercator
](
https://github.com/d3/d3-geo#geoTransverseMercator
)
-
## [Hierarchies (d3-hierarchy)](https://github.com/d3/d3-hierarchy)
Layout algorithms for visualizing hierarchical data.
...
...
index.js
View file @
907a4255
...
...
@@ -422,3 +422,34 @@ export {
brushY
,
brushSelection
}
from
"
d3-brush
"
;
export
{
geoArea
,
geoBounds
,
geoCentroid
,
geoCircle
,
geoClipExtent
,
geoDistance
,
geoGraticule
,
geoInterpolate
,
geoLength
,
geoPath
,
geoAlbers
,
geoAlbersUsa
,
geoAzimuthalEqualArea
,
geoAzimuthalEquidistant
,
geoConicConformal
,
geoConicEqualArea
,
geoConicEquidistant
,
geoEquirectangular
,
geoGnomonic
,
geoProjection
,
geoProjectionMutator
,
geoMercator
,
geoOrthographic
,
geoStereographic
,
geoTransverseMercator
,
geoRotation
,
geoStream
,
geoTransform
}
from
"
d3-geo
"
;
package.json
View file @
907a4255
{
"name"
:
"d3"
,
"version"
:
"4.0.0-alpha.
49
"
,
"version"
:
"4.0.0-alpha.
50
"
,
"publishConfig"
:
{
"tag"
:
"next"
},
...
...
@@ -34,40 +34,41 @@
"devDependencies"
:
{
"
json2module
"
:
"
0.0
"
,
"
package-preamble
"
:
"
0.0
"
,
"
rollup
"
:
"
0.
27
"
,
"
rollup
"
:
"
0.
31
"
,
"
rollup-plugin-ascii
"
:
"
0.0
"
,
"
rollup-plugin-node-resolve
"
:
"
1
"
,
"
tape
"
:
"
4
"
,
"
uglify-js
"
:
"
2
"
},
"dependencies"
:
{
"
d3-array
"
:
"
0.8.1
"
,
"
d3-array
"
:
"
1.0.0
"
,
"
d3-axis
"
:
"
0.4.1
"
,
"
d3-brush
"
:
"
0.2.
2
"
,
"
d3-collection
"
:
"
0.3.1
"
,
"
d3-color
"
:
"
0.5
.0
"
,
"
d3-dispatch
"
:
"
0.5
.0
"
,
"
d3-drag
"
:
"
0.3.
0
"
,
"
d3-dsv
"
:
"
0.4
.0
"
,
"
d3-ease
"
:
"
0.8
.0
"
,
"
d3-force
"
:
"
0.7.
0
"
,
"
d3-brush
"
:
"
0.2.
3
"
,
"
d3-collection
"
:
"
1.0.0
"
,
"
d3-color
"
:
"
1.0
.0
"
,
"
d3-dispatch
"
:
"
1.0
.0
"
,
"
d3-drag
"
:
"
0.3.
1
"
,
"
d3-dsv
"
:
"
1.0
.0
"
,
"
d3-ease
"
:
"
1.0
.0
"
,
"
d3-force
"
:
"
0.7.
1
"
,
"
d3-format
"
:
"
0.6.0
"
,
"
d3-geo
"
:
"
0.0.3
"
,
"
d3-hierarchy
"
:
"
0.3.0
"
,
"
d3-interpolate
"
:
"
0.9
.0
"
,
"
d3-path
"
:
"
0.2
.0
"
,
"
d3-polygon
"
:
"
0.3
.0
"
,
"
d3-quadtree
"
:
"
0.8
.0
"
,
"
d3-queue
"
:
"
3.0.
0
"
,
"
d3-random
"
:
"
0.3
.0
"
,
"
d3-request
"
:
"
0.5
.0
"
,
"
d3-scale
"
:
"
0.9.
0
"
,
"
d3-selection
"
:
"
0.
8
.0
"
,
"
d3-shape
"
:
"
0.7.
0
"
,
"
d3-time
"
:
"
0.3.1
"
,
"
d3-time-format
"
:
"
0.4
.0
"
,
"
d3-timer
"
:
"
0.5.1
"
,
"
d3-transition
"
:
"
0.3.
0
"
,
"
d3-voronoi
"
:
"
0.4
.0
"
,
"
d3-zoom
"
:
"
0.3.
0
"
"
d3-interpolate
"
:
"
1.0
.0
"
,
"
d3-path
"
:
"
1.0
.0
"
,
"
d3-polygon
"
:
"
1.0
.0
"
,
"
d3-quadtree
"
:
"
1.0
.0
"
,
"
d3-queue
"
:
"
3.0.
1
"
,
"
d3-random
"
:
"
1.0
.0
"
,
"
d3-request
"
:
"
1.0
.0
"
,
"
d3-scale
"
:
"
0.9.
3
"
,
"
d3-selection
"
:
"
0.
9
.0
"
,
"
d3-shape
"
:
"
0.7.
1
"
,
"
d3-time
"
:
"
1.0.0
"
,
"
d3-time-format
"
:
"
1.0
.0
"
,
"
d3-timer
"
:
"
1.0.0
"
,
"
d3-transition
"
:
"
0.3.
1
"
,
"
d3-voronoi
"
:
"
1.0
.0
"
,
"
d3-zoom
"
:
"
0.3.
1
"
}
}
test/d3-test.js
View file @
907a4255
...
...
@@ -9,6 +9,7 @@ tape("version matches package.json", function(test) {
testExports
(
"
d3-array
"
);
testExports
(
"
d3-axis
"
);
testExports
(
"
d3-brush
"
);
testExports
(
"
d3-collection
"
);
testExports
(
"
d3-color
"
);
testExports
(
"
d3-dispatch
"
);
...
...
@@ -17,6 +18,7 @@ testExports("d3-dsv");
testExports
(
"
d3-ease
"
);
testExports
(
"
d3-force
"
);
testExports
(
"
d3-format
"
);
testExports
(
"
d3-geo
"
);
testExports
(
"
d3-hierarchy
"
);
testExports
(
"
d3-interpolate
"
);
testExports
(
"
d3-path
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment