GithubHelp home page GithubHelp logo

pwaila / dashboards Goto Github PK

View Code? Open in Web Editor NEW

This project forked from plotly/dashboards

0.0 1.0 0.0 1.9 MB

Open-source dashboard template for Plotly charts forked from keen.io dashboard templates

Home Page: https://plot.ly/python/dashboard/

License: Other

HTML 5.93% CSS 2.62% JavaScript 91.44%

dashboards's Introduction

Plotly dashboards

Open-source dashboard template for plotly graphs, forked from the keen.io dashboard templates.

Make your own dashboard

  1. Download the code

  2. Unzip the file and open index.html in a text editor

  3. Find the lines containing the text "iframe" and replace the URL with your plotly graph URL. Don't forget to add the ".embed" (More about embedding plotly graphs with iframes)

  4. Save index.html and double-click to open it in your browser.

Live example

alt text


Advanced: Adding JavaScript controls

You can add JavaScript controls to any Plotly graph iframe with plotly's postMessage API.

See examples of adding a moving average, custom buttons, and zoom callbacks.

To run postMessage examples locally on your desktop, you have to open index.html with a WebServer:

alt text

  1. Open your terminal and navigate to the dashboard folder where index.html is.

  2. Start SimpleHTTPServer python -m SimpleHTTPServer 8000

  3. Navigate to http://localhost:8000/ in your browser. You should see the dashboard from index.html.


Double slider JavaScript control

alt text

dashboards's People

Watchers

 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.