All Projects → ricklupton → Floweaver

ricklupton / Floweaver

Licence: mit
View flow data as Sankey diagrams

Programming Languages

python
139335 projects - #7 most used programming language
flow
126 projects

Projects that are alternatives of or similar to Floweaver

Py d3
D3 block magic for Jupyter notebook.
Stars: ✭ 428 (+60.9%)
Mutual labels:  jupyter, data-visualization, d3
D3
This is the repository for my course, Learning Data Visualization with D3.js on LinkedIn Learning and Lynda.com.
Stars: ✭ 64 (-75.94%)
Mutual labels:  svg, data-visualization, d3
C3
📊 A D3-based reusable chart library
Stars: ✭ 9,163 (+3344.74%)
Mutual labels:  svg, data-visualization, d3
Britecharts
Client-side reusable Charting Library based on D3.js v5 that allows easy and intuitive use of charts and components that can be composed together creating amazing visualizations.
Stars: ✭ 3,688 (+1286.47%)
Mutual labels:  svg, data-visualization, d3
Visx
🐯 visx | visualization components
Stars: ✭ 14,544 (+5367.67%)
Mutual labels:  svg, data-visualization, d3
Cookbook 2nd
IPython Cookbook, Second Edition, by Cyrille Rossant, Packt Publishing 2018
Stars: ✭ 704 (+164.66%)
Mutual labels:  jupyter, data-visualization
Covid19 Dashboard
A site that displays up to date COVID-19 stats, powered by fastpages.
Stars: ✭ 1,212 (+355.64%)
Mutual labels:  jupyter, data-visualisation
Dash
Analytical Web Apps for Python, R, Julia, and Jupyter. No JavaScript Required.
Stars: ✭ 15,592 (+5761.65%)
Mutual labels:  jupyter, data-visualization
Dataviz
Build and Visualize data structures in Golang
Stars: ✭ 348 (+30.83%)
Mutual labels:  data-structures, data-visualization
Egal
easy drawing in jupyter
Stars: ✭ 251 (-5.64%)
Mutual labels:  jupyter, svg
Teaching
Teaching Materials for Dr. Waleed A. Yousef
Stars: ✭ 435 (+63.53%)
Mutual labels:  data-structures, data-visualization
Plotly express
Plotly Express - Simple syntax for complex charts. Now integrated into plotly.py!
Stars: ✭ 633 (+137.97%)
Mutual labels:  jupyter, data-visualization
Cookbook 2nd Code
Code of the IPython Cookbook, Second Edition, by Cyrille Rossant, Packt Publishing 2018 [read-only repository]
Stars: ✭ 541 (+103.38%)
Mutual labels:  jupyter, data-visualization
Ml Workspace
🛠 All-in-one web-based IDE specialized for machine learning and data science.
Stars: ✭ 2,337 (+778.57%)
Mutual labels:  jupyter, data-visualization
Lets Plot
An open-source plotting library for statistical data.
Stars: ✭ 531 (+99.62%)
Mutual labels:  jupyter, data-visualization
Bokeh
Interactive Data Visualization in the browser, from Python
Stars: ✭ 15,822 (+5848.12%)
Mutual labels:  jupyter, data-visualisation
Algorithm Playground
An (old) and unstructured (messy tbh) collection of programming exercises.
Stars: ✭ 75 (-71.8%)
Mutual labels:  data-structures, jupyter
Openrefine
OpenRefine is a free, open source power tool for working with messy data and improving it
Stars: ✭ 8,531 (+3107.14%)
Mutual labels:  data-structures, data-visualization
Jschema
A simple, easy to use data modeling framework for JavaScript
Stars: ✭ 261 (-1.88%)
Mutual labels:  data-structures, data-visualization
Deepgraph
Analyze Data with Pandas-based Networks. Documentation:
Stars: ✭ 232 (-12.78%)
Mutual labels:  data-structures, data-visualization

.. image:: docs/_static/logo.png :alt: floWeaver :align: center :width: 697 :height: 222 :target: https://github.com/ricklupton/floweaver

|

.. image:: https://badge.fury.io/py/floweaver.svg :target: https://badge.fury.io/py/floweaver :alt: PyPI Status .. image:: https://readthedocs.org/projects/floweaver/badge/?version=latest :target: http://floweaver.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status .. image:: https://travis-ci.org/ricklupton/floweaver.svg?branch=master :target: https://travis-ci.org/ricklupton/floweaver :alt: Test Status .. image:: https://codecov.io/gh/ricklupton/floweaver/branch/master/graph/badge.svg :target: https://codecov.io/gh/ricklupton/floweaver :alt: Coverage Status .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.161970.svg :target: https://doi.org/10.5281/zenodo.596249 :alt: DOI

by Rick Lupton <http://www.ricklupton.name>_ and Contributors_

Many kinds of data can be thought of as 'flows': energy and materials moving through industry, money flowing through the economy, telephone lines moving between providers, voters moving between parties. floWeaver helps you to exchange and analyse flow data and visualise it using Sankey diagrams <https://en.wikipedia.org/wiki/Sankey_diagram>_.

For example, here is some data on flows of fruit from farms to customers:

.. image:: docs/demo_table.png

With floWeaver you can visualise this as a variety of Sankey diagrams depending on what you want to show:

.. image:: docs/demo_animation/demo.gif

Although there are a variety of tools for working with flow data and Sankey diagrams in particular contexts, there are no open data formats for sharing data between tools and domains. We aim to provide a common data format and data converters to support interoperability and open data.

You are free to copy, modify, and distribute floWeaver with attribution under the terms of the MIT license. See the LICENSE <LICENSE>_ file for details. If you find it useful please acknowledge that by citing floWeaver (see below <#citing-floweaver>_).

Get started using floWeaver

floWeaver is a Python package, but you can successfully use it as a data analysis tool even without too much familiarity with Python. The best way to get started is to use it in a Jupyter notebook <http://jupyter.org/>_ (more advanced users can use it outside the notebook environment to export JSON/SVG but this is still under development; see this comment <https://github.com/ricklupton/floweaver/issues/34#issuecomment-385040059>_).

🚀 Try floWeaver online with no installation: Quickstart tutorial on Binder <https://mybinder.org/v2/gh/ricklupton/floweaver/master?filepath=docs%2Ftutorials%2Fquickstart.ipynb>_.

To install floWeaver locally, you need Python 3 installed (you might want to install it using Anaconda or Miniconda <https://www.continuum.io/downloads>); see the installation page <https://floweaver.readthedocs.io/en/latest/installation.html> for full details.

Installation using conda


You can install floweaver using conda:

.. code-block:: console

conda install -c conda-forge floweaver

You likely also want ipysankeywidget <https://github.com/ricklupton/ipysankeywidget>_ to show Sankey diagrams in the Jupyter notebook. Install it using conda:

.. code-block:: console

conda install -c conda-forge ipysankeywidget

(that's it — the jupyter nbextensions are enabled automatically when using conda)

Installation using pip


Alternatively, you can install floweaver using pip:

.. code-block:: console

pip install floweaver

You likely also want ipysankeywidget <https://github.com/ricklupton/ipysankeywidget>_ to show Sankey diagrams in the Jupyter notebook. Install this using pip and enable:

.. code-block:: console

pip install ipysankeywidget jupyter nbextension enable --py --sys-prefix ipysankeywidget

ipywidgets also needs to be enabled. You might have already done this, but missing it out is a common cause of problems so it doesn't hurt to do it again!

.. code-block:: console

jupyter nbextension enable --py --sys-prefix widgetsnbextension

Quickstart tutorial


To get started, open the quickstart tutorial <docs/tutorials/quickstart.ipynb>_ in Jupyter notebook and step through the notebook cells to produce the fruit example shown above.

Find out more 📖


Tutorials, cookbook examples, and API documentation are all available on ReadTheDocs <https://floweaver.readthedocs.io/en/latest/>_

If you have a question that isn't answered please open an issue on GitHub <https://github.com/ricklupton/floweaver/issues>, if there isn't one there already. You can also use the Gitter chatroom <https://gitter.im/floweaver/Lobby> for discussion and questions.

Contributing 🎁

Thanks for your interest in contributing! There are many ways to contribute to floWeaver: sharing examples of work done using it, suggestions for improving the documentation, examples of things that are more difficult than they should be or don't work, as well as actual fixes to code and documentation. To get started see CONTRIBUTING.md <CONTRIBUTING.md>_ and our code of conduct <CODE_OF_CONDUCT.md>_.

We have a detailed Roadmap <https://github.com/ricklupton/floweaver/projects/2>_ showing what we are working on up to May 2018; beyond that there is the longer-term Roadmap <https://github.com/ricklupton/floweaver/projects/1>. We also have good first issues grouped by type of contribution <https://github.com/ricklupton/floweaver/projects/3>.

How does it work?

floWeaver builds on the approach described in the paper Hybrid Sankey diagrams: Visual analysis of multidimensional data for understanding resource use <https://doi.org/10.1016/j.resconrec.2017.05.002>. It uses ipysankeywidget <https://github.com/ricklupton/ipysankeywidget> and d3-sankey-diagram <https://github.com/ricklupton/d3-sankey-diagram>_ for actually drawing the Sankey diagrams.

.. image:: docs/project_components.png

Citing floWeaver

If floweaver has been significant in a project that leads to a publication, please acknowledge that by citing the paper linked above:

R. C. Lupton and J. M. Allwood, ‘Hybrid Sankey diagrams: Visual analysis of multidimensional data for understanding resource use’, Resources, Conservation and Recycling, vol. 124, pp. 141–151, Sep. 2017. DOI: 10.1016/j.resconrec.2017.05.002

and/or citing the software itself; you can get a citation of the latest version from Zenodo <https://doi.org/10.5281/zenodo.596249>_.

Contributors

  • Leo Paoli (documentation)
  • Konstantin Stadler (issues & use in IOA)
  • Dhanuka Lakshan
  • Andreas Fehlner
  • Elliott Sales de Andrade
  • @abmakko (the logo)
  • Chris Barnes (@clbarnes)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].