
c3.pl -- SWISH C3.js based chart renderer
Render data as a chart.
term_rendering(+Term, +Vars, +Options)//- Renders Term as a C3.js chart. This renderer recognises C3, as a
dict with tag
c3
.
valid_c3(+C3In, -C3Out) is det[private]- Perform sanity tests on the C3 representation.
rows_to_matrix(+RowsIn, -Rows) is semidet[private]- Translate alternative row representations into a list of lists.
Recognised input rows are:
- Dicts having the same set of keys (if library(dicts) is
available)
- Compounds having same name and arity, e.g., pairs.
- Lists having the same length