W3C
school
文档首页
HTML
CSS
Javascript
Python
jQuery
NodeJS
PHP
Java
MySQL
Express
More »
开关
D3.js 4 官方文档
Geo Projection
airy.radius()
armadillo.parallel()
berghaus.lobes()
bonne.parallel()
bottomley.fraction()
craig.parallel()
cylindricalEqualArea.parallel()
cylindricalStereographic.parallel()
d3.geoAiry()
d3.geoAitoff()
d3.geoAlbers()
d3.geoArmadillo()
d3.geoAugust()
d3.geoAzimuthalEqualArea()
d3.geoAzimuthalEquidistant()
d3.geoBaker()
d3.geoBerghaus()
d3.geoBoggs()
d3.geoBonne()
d3.geoBottomley()
d3.geoBromley()
d3.geoChamberlin()
d3.geoChamberlinAfrica()
d3.geoCollignon()
d3.geoConicConformal()
d3.geoConicEqualArea()
d3.geoConicEquidistant()
d3.geoCraig()
d3.geoCraster()
d3.geoCylindricalEqualArea()
d3.geoCylindricalStereographic()
d3.geoEckert1()
d3.geoEckert2()
d3.geoEckert3()
d3.geoEckert4()
d3.geoEckert5()
d3.geoEckert6()
d3.geoEisenlohr()
d3.geoEquirectangular()
d3.geoFahey()
d3.geoFoucaut()
d3.geoGilbert()
d3.geoGingery()
d3.geoGinzburg4()
d3.geoGinzburg5()
d3.geoGinzburg6()
d3.geoGinzburg8()
d3.geoGinzburg9()
d3.geoGnomonic()
d3.geoGringorten()
d3.geoGringortenQuincuncial()
d3.geoGuyou()
d3.geoHammer()
d3.geoHammerRetroazimuthal()
d3.geoHealpix()
d3.geoHill()
d3.geoHomolosine()
d3.geoInterrupt()
d3.geoInterruptedBoggs()
d3.geoInterruptedHomolosine()
d3.geoInterruptedMollweide()
d3.geoInterruptedMollweideHemispheres()
d3.geoInterruptedSinuMollweide()
d3.geoInterruptedSinusoidal()
d3.geoKavrayskiy7()
d3.geoLagrange()
d3.geoLarrivee()
d3.geoLaskowski()
d3.geoLittrow()
d3.geoLoximuthal()
d3.geoMercator()
d3.geoMiller()
d3.geoModifiedStereographic()
d3.geoModifiedStereographicAlaska()
d3.geoModifiedStereographicGs48()
d3.geoModifiedStereographicGs50()
d3.geoModifiedStereographicLee()
d3.geoModifiedStereographicMiller()
d3.geoMollweide()
d3.geoMtFlatPolarParabolic()
d3.geoMtFlatPolarQuartic()
d3.geoMtFlatPolarSinusoidal()
d3.geoNaturalEarth()
d3.geoNaturalEarth2()
d3.geoNellHammer()
d3.geoOrthographic()
d3.geoPatterson()
d3.geoPeirceQuincuncial()
d3.geoPolyconic()
d3.geoPolyhedral()
d3.geoPolyhedralButterfly()
d3.geoPolyhedralCollignon()
d3.geoPolyhedralWaterman()
d3.geoProject()
d3.geoQuantize()
d3.geoQuincuncial()
d3.geoRectangularPolyconic()
d3.geoRobinson()
d3.geoSatellite()
d3.geoSinuMollweide()
d3.geoSinusoidal()
d3.geoStereographic()
d3.geoStitch()
d3.geoTimes()
d3.geoTransverseMercator()
d3.geoTwoPointAzimuthal()
d3.geoTwoPointAzimuthalUsa()
d3.geoTwoPointEquidistant()
d3.geoTwoPointEquidistantUsa()
d3.geoVanDerGrinten()
d3.geoVanDerGrinten2()
d3.geoVanDerGrinten3()
d3.geoVanDerGrinten4()
d3.geoWagner4()
d3.geoWagner6()
d3.geoWagner7()
d3.geoWiechel()
d3.geoWinkel3()
geo-projection
geo2svg
geograticule
gingery.lobes()
gingery.radius()
hammer.coefficient()
hammerRetroazimuthal.parallel()
healpix.lobes()
hill.ratio()
lagrange.spacing()
loximuthal.parallel()
rectangularPolyconic.parallel()
satellite.distance()
satellite.tilt()
Shape
arc()
arc.centroid()
arc.context()
arc.cornerRadius()
arc.endAngle()
arc.innerRadius()
arc.outerRadius()
arc.padAngle()
arc.padRadius()
arc.startAngle()
area()
area.context()
area.curve()
area.defined()
area.lineX0()
area.lineX1()
area.lineY1()
area.x()
area.x0()
area.x1()
area.y()
area.y0()
area.y1()
areaRadial()
areaRadial.angle()
areaRadial.context()
areaRadial.curve()
areaRadial.defined()
areaRadial.endAngle()
areaRadial.innerRadius()
areaRadial.lineEndAngle()
areaRadial.lineOuterRadius()
areaRadial.lineStartAngle()
areaRadial.outerRadius()
areaRadial.radius()
areaRadial.startAngle()
bundle.beta()
cardinal.tension()
catmullRom.alpha()
curve.areaEnd()
curve.areaStart()
curve.lineEnd()
curve.lineStart()
curve.point()
d3.arc()
d3.area()
d3.areaRadial()
d3.curveBasis()
d3.curveBasisClosed()
d3.curveBasisOpen()
d3.curveBundle()
d3.curveCardinal()
d3.curveCardinalClosed()
d3.curveCardinalOpen()
d3.curveCatmullRom()
d3.curveCatmullRomClosed()
d3.curveCatmullRomOpen()
d3.curveLinear()
d3.curveLinearClosed()
d3.curveMonotoneX()
d3.curveMonotoneY()
d3.curveNatural()
d3.curveStep()
d3.curveStepAfter()
d3.curveStepBefore()
d3.line()
d3.lineRadial()
d3.linkHorizontal()
d3.linkRadial()
d3.linkVertical()
d3.pie()
d3.pointRadial()
d3.stack()
d3.stackOffsetDiverging()
d3.stackOffsetExpand()
d3.stackOffsetNone()
d3.stackOffsetSilhouette()
d3.stackOffsetWiggle()
d3.stackOrderAscending()
d3.stackOrderDescending()
d3.stackOrderInsideOut()
d3.stackOrderNone()
d3.stackOrderReverse()
d3.symbol()
d3.symbolCircle
d3.symbolCross
d3.symbolDiamond
d3.symbols
d3.symbolSquare
d3.symbolStar
d3.symbolTriangle
d3.symbolWye
line()
line.context()
line.curve()
line.defined()
line.x()
line.y()
lineRadial()
lineRadial.angle()
lineRadial.context()
lineRadial.curve()
lineRadial.defined()
lineRadial.radius()
link()
link.context()
link.source()
link.target()
link.x()
link.y()
linkRadial.angle()
linkRadial.radius()
pie()
pie.endAngle()
pie.padAngle()
pie.sort()
pie.sortValues()
pie.startAngle()
pie.value()
shape
stack()
stack.keys()
stack.offset()
stack.order()
stack.value()
symbol()
symbol.context()
symbol.size()
symbol.type()
symbolType.draw()
Array
array
bisector.left()
bisector.right()
d3.ascending()
d3.bisect()
d3.bisectLeft()
d3.bisector()
d3.cross()
d3.descending()
d3.deviation()
d3.extent()
d3.histogram()
d3.max()
d3.mean()
d3.median()
d3.merge()
d3.min()
d3.pairs()
d3.permute()
d3.quantile()
d3.range()
d3.scan()
d3.shuffle()
d3.sum()
d3.thresholdFreedmanDiaconis()
d3.thresholdScott()
d3.thresholdSturges()
d3.tickIncrement()
d3.ticks()
d3.tickStep()
d3.transpose()
d3.variance()
d3.zip()
histogram()
histogram.domain()
histogram.thresholds()
histogram.value()
Axis
axis
axis()
axis.scale()
axis.tickArguments()
axis.tickFormat()
axis.tickPadding()
axis.ticks()
axis.tickSize()
axis.tickSizeInner()
axis.tickSizeOuter()
axis.tickValues()
d3.axisBottom()
d3.axisLeft()
d3.axisRight()
d3.axisTop()
Ease
back.overshoot()
d3.easeBack()
d3.easeBackIn()
d3.easeBackOut()
d3.easeBounce()
d3.easeBounceIn()
d3.easeBounceInOut()
d3.easeCircle()
d3.easeCircleIn()
d3.easeCircleOut()
d3.easeCubic()
d3.easeCubicIn()
d3.easeCubicOut()
d3.easeElastic()
d3.easeElasticIn()
d3.easeElasticInOut()
d3.easeExp()
d3.easeExpIn()
d3.easeExpOut()
d3.easeLinear()
d3.easePoly()
d3.easePolyIn()
d3.easePolyOut()
d3.easeQuad()
d3.easeQuadIn()
d3.easeQuadOut()
d3.easeSin()
d3.easeSinIn()
d3.easeSinOut()
ease
ease()
elastic.amplitude()
elastic.period()
poly.exponent()
Scale
band()
band.align()
band.bandwidth()
band.copy()
band.domain()
band.padding()
band.paddingInner()
band.paddingOuter()
band.range()
band.rangeRound()
band.round()
band.step()
continuous()
continuous.clamp()
continuous.copy()
continuous.domain()
continuous.interpolate()
continuous.invert()
continuous.nice()
continuous.range()
continuous.rangeRound()
continuous.tickFormat()
continuous.ticks()
d3.interpolateCool()
d3.interpolateCubehelixDefault()
d3.interpolateInferno()
d3.interpolateMagma()
d3.interpolatePlasma()
d3.interpolateRainbow()
d3.interpolateViridis()
d3.interpolateWarm()
d3.scaleBand()
d3.scaleIdentity()
d3.scaleImplicit
d3.scaleLinear()
d3.scaleLog()
d3.scaleOrdinal()
d3.scalePoint()
d3.scalePow()
d3.scaleQuantile()
d3.scaleQuantize()
d3.scaleSequential()
d3.scaleSqrt()
d3.scaleThreshold()
d3.scaleTime()
d3.scaleUtc()
d3.schemeCategory10
d3.schemeCategory20
d3.schemeCategory20b
d3.schemeCategory20c
log()
log.base()
log.clamp()
log.copy()
log.domain()
log.interpolate()
log.invert()
log.nice()
log.range()
log.rangeRound()
log.tickFormat()
log.ticks()
ordinal()
ordinal.copy()
ordinal.domain()
ordinal.range()
ordinal.unknown()
point()
point.align()
point.bandwidth()
point.copy()
point.domain()
point.padding()
point.range()
point.rangeRound()
point.round()
point.step()
pow()
pow.clamp()
pow.copy()
pow.domain()
pow.exponent()
pow.interpolate()
pow.invert()
pow.nice()
pow.range()
pow.rangeRound()
pow.tickFormat()
pow.ticks()
quantile()
quantile.copy()
quantile.domain()
quantile.invertExtent()
quantile.quantiles()
quantile.range()
quantize()
quantize.copy()
quantize.domain()
quantize.invertExtent()
quantize.nice()
quantize.range()
quantize.tickFormat()
quantize.ticks()
scale
sequential()
sequential.clamp()
sequential.copy()
sequential.domain()
sequential.interpolator()
threshold()
threshold.copy()
threshold.domain()
threshold.invertExtent()
threshold.range()
time()
time.clamp()
time.domain()
time.interpolate()
time.invert()
time.nice()
time.range()
time.rangeRound()
time.tickFormat()
time.ticks()
Brush
brush
brush()
brush.extent()
brush.filter()
brush.handleSize()
brush.move()
brush.on()
d3.brush()
d3.brushSelection()
d3.brushX()
d3.brushY()
Voronoi
cell
d3.voronoi()
diagram
diagram.find()
diagram.links()
diagram.polygons()
diagram.triangles()
edge
site
voronoi
voronoi()
voronoi.extent()
voronoi.links()
voronoi.polygons()
voronoi.size()
voronoi.triangles()
voronoi.x()
voronoi.y()
Force
center.x()
center.y()
collide.iterations()
collide.radius()
collide.strength()
d3.forceCenter()
d3.forceCollide()
d3.forceLink()
d3.forceManyBody()
d3.forceSimulation()
d3.forceX()
d3.forceY()
force
force()
force.initialize()
link.distance()
link.id()
link.iterations()
link.links()
link.strength()
manyBody.distanceMax()
manyBody.distanceMin()
manyBody.strength()
manyBody.theta()
simulation.alpha()
simulation.alphaDecay()
simulation.alphaMin()
simulation.alphaTarget()
simulation.find()
simulation.force()
simulation.nodes()
simulation.on()
simulation.restart()
simulation.stop()
simulation.tick()
simulation.velocityDecay()
x.strength()
x.x()
y.strength()
y.y()
D3
Changes in D3 4.0
Chord
chord
chord()
chord.padAngle()
chord.sortChords()
chord.sortGroups()
chord.sortSubgroups()
d3.chord()
d3.ribbon()
ribbon()
ribbon.context()
ribbon.endAngle()
ribbon.radius()
ribbon.source()
ribbon.startAngle()
ribbon.target()
Geo
circle()
circle.center()
circle.precision()
circle.radius()
conic.parallels()
d3.geoAlbers()
d3.geoAlbersUsa()
d3.geoArea()
d3.geoAzimuthalEqualArea()
d3.geoAzimuthalEquidistant()
d3.geoBounds()
d3.geoCentroid()
d3.geoCircle()
d3.geoConicConformal()
d3.geoConicEqualArea()
d3.geoConicEquidistant()
d3.geoContains()
d3.geoDistance()
d3.geoEquirectangular()
d3.geoGnomonic()
d3.geoGraticule()
d3.geoGraticule10()
d3.geoIdentity()
d3.geoInterpolate()
d3.geoLength()
d3.geoMercator()
d3.geoOrthographic()
d3.geoPath()
d3.geoProjection()
d3.geoProjectionMutator()
d3.geoRotation()
d3.geoStereographic()
d3.geoStream()
d3.geoTransform()
d3.geoTransverseMercator()
geo
graticule()
graticule.extent()
graticule.extentMajor()
graticule.extentMinor()
graticule.lines()
graticule.outline()
graticule.precision()
graticule.step()
graticule.stepMajor()
graticule.stepMinor()
identity.reflectX()
identity.reflectY()
path()
path.area()
path.bounds()
path.centroid()
path.context()
path.measure()
path.pointRadius()
path.projection()
project()
project.invert()
projection()
projection.center()
projection.clipAngle()
projection.clipExtent()
projection.fitExtent()
projection.fitSize()
projection.invert()
projection.precision()
projection.rotate()
projection.scale()
projection.stream()
projection.translate()
rotation()
rotation.invert()
stream.lineEnd()
stream.lineStart()
stream.point()
stream.polygonEnd()
stream.polygonStart()
stream.sphere()
Hierarchy
cluster()
cluster.nodeSize()
cluster.separation()
cluster.size()
d3.cluster()
d3.hierarchy()
d3.pack()
d3.packEnclose()
d3.packSiblings()
d3.partition()
d3.stratify()
d3.tree()
d3.treemap()
d3.treemapBinary()
d3.treemapDice()
d3.treemapResquarify()
d3.treemapSlice()
d3.treemapSliceDice()
d3.treemapSquarify()
hierarchy
node.ancestors()
node.copy()
node.count()
node.descendants()
node.each()
node.eachAfter()
node.eachBefore()
node.leaves()
node.links()
node.path()
node.sort()
node.sum()
pack()
pack.padding()
pack.radius()
pack.size()
partition()
partition.padding()
partition.round()
partition.size()
squarify.ratio()
stratify()
stratify.id()
stratify.parentId()
tree()
tree.nodeSize()
tree.separation()
tree.size()
treemap()
treemap.padding()
treemap.paddingBottom()
treemap.paddingInner()
treemap.paddingLeft()
treemap.paddingOuter()
treemap.paddingRight()
treemap.paddingTop()
treemap.round()
treemap.size()
treemap.tile()
Collection
collection
d3.entries()
d3.keys()
d3.map()
d3.nest()
d3.set()
d3.values()
map.clear()
map.each()
map.empty()
map.entries()
map.get()
map.has()
map.keys()
map.remove()
map.set()
map.size()
map.values()
nest.entries()
nest.key()
nest.map()
nest.object()
nest.rollup()
nest.sortKeys()
nest.sortValues()
set.add()
set.clear()
set.each()
set.empty()
set.has()
set.remove()
set.size()
set.values()
Color
color
color.brighter()
color.darker()
color.displayable()
color.opacity
color.rgb()
color.toString()
d3.color()
d3.cubehelix()
d3.hcl()
d3.hsl()
d3.lab()
d3.rgb()
DSV
csv2json
csv2tsv
d3.csvFormat()
d3.csvFormatRows()
d3.csvParse()
d3.csvParseRows()
d3.dsvFormat()
d3.tsvFormat()
d3.tsvFormatRows()
d3.tsvParse()
d3.tsvParseRows()
dsv
dsv.format()
dsv.formatRows()
dsv.parse()
dsv.parseRows()
dsv2dsv
dsv2json
json2dsv
tsv2csv
tsv2json
Transition
d3.active()
d3.interrupt()
d3.transition()
selection.interrupt()
selection.transition()
transition
transition.attr()
transition.attrTween()
transition.call()
transition.delay()
transition.duration()
transition.each()
transition.ease()
transition.empty()
transition.filter()
transition.merge()
transition.node()
transition.nodes()
transition.on()
transition.remove()
transition.select()
transition.selectAll()
transition.selection()
transition.size()
transition.style()
transition.styleTween()
transition.text()
transition.transition()
transition.tween()
Selection
d3.creator()
d3.customEvent()
d3.event
d3.local()
d3.matcher()
d3.mouse()
d3.namespace()
d3.namespaces
d3.select()
d3.selectAll()
d3.selection()
d3.selector()
d3.selectorAll()
d3.style()
d3.touch()
d3.touches()
d3.window()
local.get()
local.remove()
local.set()
local.toString()
selection
selection.append()
selection.attr()
selection.call()
selection.classed()
selection.data()
selection.datum()
selection.dispatch()
selection.each()
selection.empty()
selection.enter()
selection.exit()
selection.filter()
selection.html()
selection.insert()
selection.lower()
selection.merge()
selection.node()
selection.nodes()
selection.on()
selection.order()
selection.property()
selection.raise()
selection.remove()
selection.select()
selection.selectAll()
selection.size()
selection.sort()
selection.style()
selection.text()
Request
d3.csv()
d3.html()
d3.json()
d3.request()
d3.text()
d3.tsv()
d3.xml()
request
request.abort()
request.get()
request.header()
request.mimeType()
request.on()
request.password()
request.post()
request.response()
request.responseType()
request.send()
request.timeout()
request.user()
Dispatch
d3.dispatch()
dispatch
dispatch.apply()
dispatch.call()
dispatch.copy()
dispatch.on()
Drag
d3.drag()
d3.dragDisable()
d3.dragEnable()
drag
drag()
drag.clickDistance()
drag.container()
drag.filter()
drag.on()
drag.subject()
event.on()
Format
d3.format()
d3.formatDefaultLocale()
d3.formatLocale()
d3.formatPrefix()
d3.formatSpecifier()
d3.precisionFixed()
d3.precisionPrefix()
d3.precisionRound()
format
locale.format()
locale.formatPrefix()
HSV
d3.hsv()
d3.interpolateHsv()
d3.interpolateHsvLong()
hsv
Interpolate
d3.interpolate()
d3.interpolateArray()
d3.interpolateBasis()
d3.interpolateBasisClosed()
d3.interpolateCubehelix()
d3.interpolateCubehelixLong()
d3.interpolateDate()
d3.interpolateHcl()
d3.interpolateHclLong()
d3.interpolateHsl()
d3.interpolateHslLong()
d3.interpolateLab()
d3.interpolateNumber()
d3.interpolateObject()
d3.interpolateRgb()
d3.interpolateRgbBasis()
d3.interpolateRgbBasisClosed()
d3.interpolateRound()
d3.interpolateString()
d3.interpolateTransformCss()
d3.interpolateTransformSvg()
d3.interpolateZoom()
d3.quantize()
interpolate
interpolate.gamma()
Scale Chromatic
d3.interpolateBlues()
d3.interpolateBrBG()
d3.interpolateBuGn()
d3.interpolateBuPu()
d3.interpolateGnBu()
d3.interpolateGreens()
d3.interpolateGreys()
d3.interpolateOranges()
d3.interpolateOrRd()
d3.interpolatePiYG()
d3.interpolatePRGn()
d3.interpolatePuBu()
d3.interpolatePuBuGn()
d3.interpolatePuOr()
d3.interpolatePuRd()
d3.interpolatePurples()
d3.interpolateRdBu()
d3.interpolateRdGy()
d3.interpolateRdPu()
d3.interpolateRdYlBu()
d3.interpolateRdYlGn()
d3.interpolateReds()
d3.interpolateSpectral()
d3.interpolateYlGn()
d3.interpolateYlGnBu()
d3.interpolateYlOrBr()
d3.interpolateYlOrRd()
d3.schemeAccent
d3.schemeDark2
d3.schemePaired
d3.schemePastel1
d3.schemePastel2
d3.schemeSet1
d3.schemeSet2
d3.schemeSet3
scale-chromatic
Timer
d3.interval()
d3.now()
d3.timeout()
d3.timer()
d3.timerFlush()
timer
timer.restart()
timer.stop()
Time Format
d3.isoFormat
d3.isoParse
d3.timeFormat()
d3.timeFormatDefaultLocale()
d3.timeFormatLocale()
d3.timeParse()
d3.utcFormat()
d3.utcParse()
locale.format()
locale.parse()
locale.utcFormat()
locale.utcParse()
time-format
Path
d3.path()
path
path.arc()
path.arcTo()
path.bezierCurveTo()
path.closePath()
path.lineTo()
path.moveTo()
path.quadraticCurveTo()
path.rect()
path.toString()
Polygon
d3.polygonArea()
d3.polygonCentroid()
d3.polygonContains()
d3.polygonHull()
d3.polygonLength()
polygon
Quadtree
d3.quadtree()
quadtree
quadtree.add()
quadtree.addAll()
quadtree.copy()
quadtree.cover()
quadtree.data()
quadtree.extent()
quadtree.find()
quadtree.remove()
quadtree.removeAll()
quadtree.root()
quadtree.size()
quadtree.visit()
quadtree.visitAfter()
quadtree.x()
quadtree.y()
Queue
d3.queue()
queue
queue.abort()
queue.await()
queue.awaitAll()
queue.defer()
Random
d3.randomBates()
d3.randomExponential()
d3.randomIrwinHall()
d3.randomLogNormal()
d3.randomNormal()
d3.randomUniform()
random
random.source()
Tile
d3.tile()
tile
tile()
tile.extent()
tile.scale()
tile.size()
tile.translate()
tile.wrap()
Time
d3.timeDay
d3.timeDays()
d3.timeFriday
d3.timeFridays()
d3.timeHour
d3.timeHours()
d3.timeInterval()
d3.timeMillisecond
d3.timeMilliseconds()
d3.timeMinute
d3.timeMinutes()
d3.timeMonday
d3.timeMondays()
d3.timeMonth
d3.timeMonths()
d3.timeSaturday
d3.timeSaturdays()
d3.timeSecond
d3.timeSeconds()
d3.timeSunday
d3.timeSundays()
d3.timeThursday
d3.timeThursdays()
d3.timeTuesday
d3.timeTuesdays()
d3.timeWednesday
d3.timeWednesdays()
d3.timeWeek
d3.timeWeeks()
d3.timeYear
d3.timeYears()
interval()
interval.ceil()
interval.count()
interval.every()
interval.filter()
interval.floor()
interval.offset()
interval.range()
interval.round()
time
Zoom
d3.zoom()
d3.zoomIdentity
d3.zoomTransform()
transform.apply()
transform.applyX()
transform.applyY()
transform.invert()
transform.invertX()
transform.invertY()
transform.rescaleX()
transform.rescaleY()
transform.scale()
transform.toString()
transform.translate()
zoom
zoom()
zoom.clickDistance()
zoom.duration()
zoom.extent()
zoom.filter()
zoom.interpolate()
zoom.on()
zoom.scaleBy()
zoom.scaleExtent()
zoom.scaleTo()
zoom.transform()
zoom.translateBy()
zoom.translateExtent()
Selection Multi
selection-multi
selection.attrs()
selection.properties()
selection.styles()
transition.attrs()
transition.styles()
Index
index