Crates.io | mondrian-charts |
lib.rs | mondrian-charts |
version | 0.12.0 |
source | src |
created_at | 2023-08-11 08:46:27.097846 |
updated_at | 2024-03-29 07:16:45.913364 |
description | Abstract chart generator and renderer |
homepage | |
repository | https://github.com/fiberplane/fiberplane |
max_upload_size | |
id | 941688 |
size | 191,950 |
Abstract chart generator and renderer
Mondrian provides a set of types for abstract charts. An abstract chart
defines what a chart should look like, without going into the details of its
exact rendering. It allows for generating static images (everything you need for
that is in this crate), but can also be used as a source to generate interactive
charts using the
fiberplane-charts
library. The latter also contains a full TypeScript implementation for
generating Mondrian charts.
This crate also comes with generators for creating Mondrian charts based on
timeseries data defined using
fiberplane-models
. That said,
the dependency on fiberplane-models
is optional, so if you want to generate
Mondrian charts from your own data types, you can.
Finally, this crate features exporters for generating SVG and PNG images from
Mondrian charts, as well as other image formats supported by the
image
crate.
Just like SVG, Mondrian is a declarative format that relies on a renderer for the final visualization. So why not just use SVG?
Other notable differences include:
serde
can be used.Finally, it bears mentioning that while Mondrian is a useful intermediary format before rendering to a more concrete output, Mondrian charts can indeed be serialized to SVG as well.
See: https://docs.rs/mondrian-charts/latest/mondrian_charts
Please see COMMUNITY.md for ways to reach out to us.
Please follow our Contributing Guidelines to learn how best to contribute to this project.
See CODE_OF_CONDUCT.md.
This project is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT.