{"repo":"plotly/plotly.rs","free":true,"listed":false,"github":"https://github.com/plotly/plotly.rs","clone":"git clone https://github.com/plotly/plotly.rs.git","description":"Plotly for Rust","language":"Rust","stars":1449,"topics":["plot","rust","chart","financial","financial-analysis","data-visualization","data-vizualisation","plotly","plotlyjs","scatter"],"license":"MIT","category":"analytics","readme_excerpt":"Plotly.rs Plotly for Rust Getting Started Recipes API Docs Changelog Table of Contents Introduction Basic Usage Exporting a single Interactive Plot Exporting Static Images with plotly static (Recommended) Exporting Static Images with Kaleido (legacy) Usage Within a WASM Environment Timeseries Downsampling Crate Feature Flags Contributing Code of Conduct License Introduction A plotting library for Rust powered by Plotly.js. Documentation and numerous interactive examples are available in the Plotly.rs Book, the examples/ directory and docs.rs. For changes since the last version, please consult the changelog. Basic Usage Add this to your Cargo.toml : Exporting a single Interactive Plot Any figure can be saved as an HTML file using the Plot.write html() method. These HTML files can be opened in any web browser to access the fully interactive figure. By default, the Plotly JavaScript library and some MathJax components will always be included via CDN, which results in smaller file-size, but slightly slower first load as the JavaScript libraries have to be downloaded first. Alternatively, to embed the JavaScript libraries (several megabytes in size) directly into the HTML file, plotly-rs must be compiled with the feature flag plotly embed js . With this feature flag the Plotly and MathJax JavaScript libraries are directly embedded in the generated HTML file. It is still possible to use the CDN version, by using the use cdn js method. If you only want to view the plot in the browse","default_branch":null,"files":null,"tree":[],"storefront":"/r/plotly","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/plotly/plotly.rs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}