Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roadmap #32

Open
wangjiawen2013 opened this issue Nov 24, 2023 · 10 comments
Open

roadmap #32

wangjiawen2013 opened this issue Nov 24, 2023 · 10 comments

Comments

@wangjiawen2013
Copy link

wangjiawen2013 commented Nov 24, 2023

Hi,

Thanks for your great work! I am looking for rust visualization library for a long time. I have tried plotters (https://github.com/plotters-rs/plotters) and plotly (https://github.com/igiagkiozis/plotly), both of them are disappointing cannot meet my demand. Charming is the best one of all the rust visualization library I have ever seen and worth trying!

Do you have a roadmap of charming and will you maintain this project ? Though I am not a developer, I can test charming for you. And can I convert charming chart to json now using something like Chart.to_json() ? if so, I can send the json to web front end and render it. Besides, can I use charming in vscode jupyter and render them ?

@yuankunzhang
Copy link
Owner

Hi @wangjiawen2013 , thanks for the feedback!

At the moment I don't have a concrete roadmap, but I do have something in my mind: adding more documentations being the most important one and adding support for 3D charts being another. Making it accessible in Jupyter is an interesting (and a very useful) idea, I'll find some time to look into it.

Btw you can use the Chart.to_string() method to dump a chart definition into a JSON string. And any form of contributions is welcome!

@locke4
Copy link

locke4 commented Dec 5, 2023

This is a fantastic library by the way, I too found plotters and plotly weren't as useful as this library. I'm testing it out with WASM and Yew. One suggestion for the roadmap, I'd be really keen to either see a histogram series type or an option with bar charts to set the width in relative interval % rather than absolute screen pixels. I'm currently calculating the pixels based on the chart width.

image

@wangjiawen2013
Copy link
Author

It's also helpful to add some examples on how to work with external dataset, such as excel, csv, polars dataframe , because some user's data are stored in excel and csv. Vega-lite altair supports pandas dataframe and is more friendly to users.

@humphreylee
Copy link
Contributor

Is the project still alive?

@wangjiawen2013
Copy link
Author

wangjiawen2013 commented Jul 5, 2024

I'm afraid not. There is a very lack of tutorials and practical chart types.
But there is a good news, the rust plotly project is re-vived.

@humphreylee
Copy link
Contributor

Thanks. Will check it out.

@humphreylee
Copy link
Contributor

It's also helpful to add some examples on how to work with external dataset, such as excel, csv, polars dataframe , because some user's data are stored in excel and csv. Vega-lite altair supports pandas dataframe and is more friendly to users.

A macro has been implemented to convert vectors into an EChart-compatible dataframe, enabling the use of various data formats within Charming.

@LukaOber
Copy link
Collaborator

LukaOber commented Oct 31, 2024

It's also helpful to add some examples on how to work with external dataset, such as excel, csv, polars dataframe , because some user's data are stored in excel and csv. Vega-lite altair supports pandas dataframe and is more friendly to users.

I don't think a general approach to convert csv or excel data is possible. You would still need to manually read the data from your source file and convert it to a compatible dataframe for charming. The new dz! macro will remove a lot of the boilerplate code for this.

For plotting polars dataframes you can take a look at plotlars, I have not used it myself, but it looks promising.

@LukaOber
Copy link
Collaborator

Is the project still alive?

For anyone finding this in the future, it is. We are currently trying to add more fields to allow more customizable charts, adding tests to check correct serialization and also trying to simplify some internal stuff.

Most issues and pull requests get an answer or suggestion in the first few hours.

@humphreylee
Copy link
Contributor

Is the project still alive?

For anyone finding this in the future, it is. We are currently trying to add more fields to allow more customizable charts, adding tests to check correct serialization and also trying to simplify some internal stuff.

Most issues and pull requests get an answer or suggestion in the first few hours.

I like this library so much that I've already contributed three PRs to help move the project forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants