Giter Site home page Giter Site logo

chord's Introduction


PlotAPI

Engaging visualisations, made easy.

Key FeaturesGet AccessInstallationUsageLicense

screenshot

Key Features

  • PlotAPI Chord - Illustrate inter-relationships between data.
  • PlotAPI Sankey - Illustrate the flow from one set of values to another.
  • PlotAPI Terminus - Illustrate distributing something out amongst recipients.
  • PlotAPI Bar Fight - A beautiful take on the classic Bar Chart Race.
  • PlotAPI Pie Fight - A beautiful take on the classic Pie Chart Race.
  • PlotAPI Heat Map - Beautiful and interactive heat maps.
  • PlotAPI Line Fight - A beautiful take on the classic Line Chart Race.
  • PlotAPI Pareto Front - Illustrate non-dominated (Pareto) fronts over time.
  • Upcoming Visualisations - Access to new visualisations as they are introduced.
  • Supports Most Programming Languages - Get started with any language able to make HTTP requests.
  • First-Class Python Support - Get started with pip install plotapi
  • Jupyter Lab/Notebook + Google Colab Support - Super-charge your notebooks with inline visualisations.
  • Beautiful Themes & Fonts - Select from pre-made beautiful themes, or add your own.
  • Share or Embed Interactive HTML - Download and embed your interactive visualisations.
  • Render to PDF, SVG, or PNG - Generate high-quality output ready for print.
  • Record Animation to Video - Create social media-ready animated visualisations.

Get Access

Visit the website to get access to PlotAPI.

Installation

Get up and running with Python with the following command.

pip install plotapi

Usage

Example - Chord Pro

out.mp4

Created with PlotAPI

Chord(matrix, names).show()

The data

matrix = [
    [0, 5, 6, 4, 7, 4],
    [5, 0, 5, 4, 6, 5],
    [6, 5, 0, 4, 5, 5],
    [4, 4, 4, 0, 5, 5],
    [7, 6, 5, 5, 0, 4],
    [4, 5, 5, 5, 4, 0],
]

names = ["Action", "Adventure", "Comedy", "Drama", "Fantasy", "Thriller"]

Example - Sankey Pro

sankey.mp4

Created with PlotAPI

Sankey(links).show()

The data

links = [
    {"source":"Salary", "target":"Me", "value": 40000},
    {"source":"Freelance", "target":"Me", "value": 10000},
    {"source":"Dividends", "target":"Me", "value": 6000},

    {"source":"Me", "target":"Rent", "value": 1100*12},
    {"source":"Me", "target":"Food", "value": 300*12},
    {"source":"Me", "target":"Magazine Subscription", "value": 2000},
    {"source":"Me", "target":"Personal Tax", "value": 6000},
    {"source":"Me", "target":"Investments", "value": 30000},

    {"source":"Investments", "target":"Facebook", "value": 8000},
    {"source":"Investments", "target":"Amazon", "value": 7000},
    {"source":"Investments", "target":"Apple", "value": 6000},
    {"source":"Investments", "target":"Netflix", "value": 5000},
    {"source":"Investments", "target":"Google", "value": 4000},
]

License

MIT


Prefer not to code? Try PlotPanel.com

PlotPanel

plotapi.com  ·  GitHub @shahinrostami  ·  Twitter @shahinrostami  ·  A Polyra innovation

chord's People

Contributors

shahinrostami avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.