voronoi.polygons()

voronoi.polygons(data) Returns an array of polygons, one for each input point in the specified data points, corresponding to the cells in the computed Voronoi diagram. Equivalent to: voronoi(data).polygons(); See diagram.polygons for more detail. Note: an extent is required.

voronoi.extent()

voronoi.extent([extent]) If extent is specified, sets the clip extent of the Voronoi layout to the specified bounds and returns the layout. The extent bounds are specified as an array [[x0, y0], [x1, y1]], where x0 is the left side of the extent, y0 is the top, x1 is the right and y1 is the bottom. If extent is not specified, returns the current clip extent which defaults to null. A clip extent is required when using voronoi.polygons.

voronoi.links()

voronoi.links(data) Returns the Delaunay triangulation of the specified data array as an array of links. Each link has source and target attributes referring to elements in data. Equivalent to: voronoi(data).links(); See diagram.links for more detail.

voronoi()

voronoi(data) Computes the Voronoi diagram for the specified data points.

tsv2csv

tsv2csv [options…] [file] Equivalent to dsv2dsv, but the input delimiter defaults to the tab character (\t).

treemap.tile()

treemap.tile([tile]) If tile is specified, sets the tiling method to the specified function and returns this treemap layout. If tile is not specified, returns the current tiling method, which defaults to d3.treemapSquarify with the golden ratio.

treemap.size()

treemap.size([size]) If size is specified, sets this treemap layout’s size to the specified two-element array of numbers [width, height] and returns this treemap layout. If size is not specified, returns the current size, which defaults to [1, 1].

tsv2json

tsv2json [options…] [file] Equivalent to dsv2json, but the input delimiter defaults to the tab character (\t).

treemap.paddingLeft()

treemap.paddingLeft([padding]) If padding is specified, sets the left padding to the specified number or function and returns this treemap layout. If padding is not specified, returns the current left padding function, which defaults to the constant zero. If padding is a function, it is invoked for each node with children, being passed the current node. The left padding is used to separate the left edge of a node from its children.

treemap.paddingRight()

treemap.paddingRight([padding]) If padding is specified, sets the right padding to the specified number or function and returns this treemap layout. If padding is not specified, returns the current right padding function, which defaults to the constant zero. If padding is a function, it is invoked for each node with children, being passed the current node. The right padding is used to separate the right edge of a node from its children.