d4_shape 1.1.0 copy "d4_shape: ^1.1.0" to clipboard
d4_shape: ^1.1.0 copied to clipboard

Graphical primitives for visualization, such as lines and areas.

d4_shape

Graphical primitives for visualization, such as lines and areas.

license Dart CI pub package package publisher

Documentation

This package provides a variety of shape generators for your convenience. As with other aspects of D4, these shapes are driven by data: each shape generator exposes accessors that control how the input data are mapped to a visual representation.

See one of:

  • Arcs - circular or annular sectors, as in a pie or donut chart.
  • Areas - an area defined by a bounding topline and baseline, as in an area chart.
  • Curves - interpolate between points to produce a continuous shape.
  • Lines - a spline or polyline, as in a line chart.
  • Links - a smooth cubic Bézier curve from a source to a target.
  • Pies - compute angles for a pie or donut chart.
  • Stacks - stack adjacent shapes, as in a stacked bar chart.
  • Symbols - a categorical shape encoding, as in a scatterplot.
  • Radial areas - like area, but in polar coordinates.
  • Radial lines - like line, but in polar coordinates.
  • Radial links - like link, but in polar coordinates.
0
likes
140
pub points
47%
popularity

Publisher

verified publisherluizbarboza.com

Graphical primitives for visualization, such as lines and areas.

Repository (GitHub)
View/report issues

Documentation

API reference

License

ISC (license)

Dependencies

d4_array, d4_path, d4_polygon

More

Packages that depend on d4_shape