Skip to content

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

License

Notifications You must be signed in to change notification settings

kennethcc2005/dashboards

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.5%
  • HTML 5.9%
  • CSS 2.6%