Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clementbeal/pretty_charts

A new Flutter library to draw charts
https://github.com/clementbeal/pretty_charts

Last synced: 17 days ago
JSON representation

A new Flutter library to draw charts

Awesome Lists containing this project

README

        

> [!IMPORTANT]
> It's still in progress. I'm trying to draw the charts that are not provided by the other packages first. Then I'll add the interaction.
> The API might change because it's currently experiments.

# Pretty Charts

Pretty Charts is a chart library that aims to provide to the Flutter community charts like Matplotlib or Plotly.

Working on Android, iOS, Web, Desktop

## Demo

[Demo](https://pretty-charts.pages.dev/)

Or clone the project and run the example:

```bash
git clone https://github.com/ClementBeal/pretty_charts.git
cd pretty_charts/
cd example
flutter run
```

> [!CAUTION]
> There's a bug with Firefox making the rendering very slow. Use the demo with a Chromium-based browser instead.

## Available charts

| Line Chart | Bar Plot | Pie Plot |
| ------------------------------- | ----------------------------- | ------------------------ |
| ![](screenshots/line_chart.png) | ![](screenshots/bar_plot.png) | ![](screenshots/pie.png) |

| Scatter Plot | Bubble Plot | |
| ---------------------------- | --------------------------- | --- |
| ![](screenshots/scatter.png) | ![](screenshots/bubble.png) | |

| Treemap Chart | Dependency Wheel | Ternary Plot |
| ---------------------------- | ------------------------------- | --------------------------------- |
| ![](screenshots/treemap.png) | ![](screenshots/dependency.png) | ![](screenshots/ternary_plot.png) |

| Dot Plot | Contour Plot | |
| ----------------------------- | --------------------------------- | --- |
| ![](screenshots/dot_plot.png) | ![](screenshots/contour_plot.png) | |

| Plots | Implemented |
| ---------------- | ----------- |
| Line | ✅ |
| Bar | ✅ |
| Pie | ✅ |
| Scatter | ✅ |
| Bubble | ✅ |
| Dependency Wheel | ✅ |
| Ternary Plot | ✅ |
| Treemap Chart | ✅ |
| Dot Chart | ✅ |
| Contour Plot | ✅ |