![]() A value of null ( default) maintains the existing order found in the input data structure. Getter/setter for the compare method used to sort sibling arcs. The default is 0.5 (square-root) which ensures the area of every segment remains proportional to their value, by decreasing the radius outwards in a quadratic fashion. ![]() Getter/setter for the exponent of the power scale used to calculate the thickness of the multi-layered rings. The value should be proportional to the whole chart radius. Getter/setter for the relative radius of the center circle. Getter/setter for whether to exclude the root node from the top level representation, to maximize the available radial space. Getter/setter for the maximum number of layers to show at any given time. Getter/setter for the minimum angle of an arc (in degrees) required for it to be rendered in the DOM. Determines the CSS class(es) to apply to each slice node. Getter/setter for a node object classname accessor. Getter/setter for a node object stroke color accessor, used to color the contour of the arcs. Getter/setter for a node object color accessor, used to color fill the arcs. Getter/setter for a node object size accessor, used to compute the angles of the arcs. Getter/setter for a node object label accessor, used to display labels on the arcs and their tooltips. Supports either a string indicating the object's property name, or a function(node) which should return an array of nodes. Getter/setter for a data node's children accessor, used to establish the hierarchical relationship between nodes. ![]() Getter/setter for the chart height in px. Getter/setter for chart data (see below for syntax details). Quick startĬonst m圜hart = Sunburst ( ) m圜hart. See also the Icicle, Circle Pack and Treemap charts. See here for an example of a randomly generated large data structure. This can however be customized using the radiusScaleExponent method.įor improved performance, arcs smaller than a given threshold ( minSliceAngle) are excluded from the DOM, allowing for representation of large data sets while maintaining a smooth interaction. The chart also responds to data changes by animating the arcs of each of the nodes into their new positions.īy default the arcs areas are linearly proportional to their data values, resulting in a decrease of the thickness of the outer layers in a quadratic fashion. Clicking in the chart's center zooms out one level, while clicking on the canvas resets the zoom level to the root view. An interactive sunburst chart for representing hierarchical data, where each data node of a tree is represented by an annular segment within multi-layered rings.Ĭlicking on an arc focuses the view on the associated sub-tree, enabling a gradual exploration of the data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |