Expand description
Representations are the interface between the data coming from the user and the rendered output.
Each type that implements Representation
or CategoricalRepresentation
knows how to read in data
and convert that into a concrete element to be incorporated into a larger plot.
For example the scatter::Scatter
representation can be created from a list of coordinates.
When to_svg()
is called on it, it will create the SVG elements showing the points from within
the range that was requested by the caller.
These points may then be layered with other SVG elements from other representations into a
view::View
.
Structs§
- BarChart
- BoxPlot
- Histogram
- A one-dimensional histogram with equal binning.
- Plot
- Representation of any plot with points in the XY plane, visualized as points and/or with lines in-between.
Enums§
Traits§
- Categorical
Representation - A representation of data that is categorical in the x-axis but continuous in the y-axis.
- Continuous
Representation - A representation of data that is continuous in two dimensions.