stacked_bar_chart 1.0.1

Generate a stacked bar chart
Documentation
# Stacked Bar Chart

[![coverage](https://shields.io/endpoint?url=https://raw.githubusercontent.com/jlyonsmith/stacked_bar_chart/main/coverage.json)](https://github.com/jlyonsmith/stacked_bar_chart/blob/main/coverage.json)
[![Crates.io](https://img.shields.io/crates/v/stacked_bar_chart.svg)](https://crates.io/crates/stacked_bar_chart)
[![Docs.rs](https://docs.rs/stacked_bar_chart/badge.svg)](https://docs.rs/stacked_bar_chart)

This is a stacked bar chart generator.  You provide a [JSON5](https://json5.org/) file with data and it generates an SVG file.  You can convert the SVG to PNG or other bitmap formats with the [resvg](https://crates.io/crates/resvg) tool.

Here is an example of the output:

![Example Stacked Bar Chart](example/example.svg)

Install with `cargo install stacked_bar_chart`.  Run with `stacked-bar-chart`.

Features of the tool include:

- Automatic scaling of the Y axis labels
- Automatic generation of the legend
- Automatic selection of bar colors to maximize contrast
- Uses SVG classes to enable easy changes to the generate graphs