Plots


Jump to API response

This endpoint handles manipulation of Plotly plot files.

Reference

Authorization


Any user with or without a Plotly account may view public plots. For private plots, see authentication.

Actions


list

Listing all public plots can be done via a GET request to this endpoint. By default, plots will be listed in order of date created. The order_by query parameter is accepted at this endpoint. Currently, only ordering by views is supported. It is possible to filter the plots by quality with min_quality or max_quality as query parameter.

Example:

// GET https://api.plotly.com/v2/plots/ ---> 200

// GET https://api.plotly.com/v2/plots/?order_by=-views ---> 200

// GET https://api.plotly.com/v2/plots/?min_quality=5 ---> 200

// GET https://api.plotly.com/v2/plots/?max_quality=5 ---> 200

feed

Listing all handpicked feed plots can be done via a GET request to this endpoint. By default, plots will be listed in a random order.

Example:

// GET https://api.plotly.com/v2/plots/feed ---> 200

create

You can create new plot resources here. The only required field is 'figure'. Currently, the figure is restricted to only contain references to grid data. That is, this will fail if raw data arrays are passed in. To create and manipulate underlying grids for plots, see the grids endpoint.

Example:

// This fails because a figure field is required.
// POST https://api.plotly.com/v2/plots ---> 400 Bad Request
{}

// This fails because the figure has raw data
//POST https://api.plotly.com/v2/plots ---> 400 Bad Request
{
    "figure": {"data": [{"y": ['this', 'is', 'raw', 'data']}]}
}

// This succeeds because the figure has src keys, not raw data.
//POST https://api.plotly.com/v2/plots ---> 200 OK
{
    "figure": {"data": [{"ysrc": "sven:88:u8nd62"}]}
}

When creating a grid, you can optionally specify a source_fid to specify where a plot has come from:

  • source_fid: the fid of a plot that was copied (and presumably edited) to produce this one

detail

There is a lot of meta information stored about plot files including filename, title, share_url, and content_url to name a few.

This information can only be reached with a GET to this endpoint.

Example:

// GET https://api.plotly.com/v2/plots/iheartgraphs:90

content

The contents of a plot can be downloaded via the content resource. The plot content contains referenced grid/column data by default. If you wish to return the raw grid/column data, the inline_data=true query must be included in the request url. The Content-Type header will be appropriately set for the response body.

Alternatively, you can set ?map_data=unreadable to append a mapping of sources to data that belongs to grids which are unreadable for the requestor. This is useful when you have read access to another users plot, but that plot contains grid references which you don't have access to.

Examples:

// Returns referenced grid/column data
// GET https://api.plotly.com/v2/plots/iheartgraphs:90/content ---> 200 OK

// Returns full grid/column data
// GET https://api.plotly.com/v2/plots/iheartgraphs:90/content?inline_data=true ---> 200 OK

// Returns full grid/column data when requestor doesn't have permission
// to read the referenced grid.
// GET https://api.plotly.com/v2/plots/iheartgraphs:90/content?map_data=unreadable ---> 200 OK

GET /v2/plots?cursor=cj0xJnA9MjAxOS0wMy0yMCsyMCUzQTU0JTNBNDcuMTU5NDgyJTJCMDAlM0EwMA%3D%3D&format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "next": "https://api.plot.ly/v2/plots?cursor=cD0yMDE5LTAzLTIwKzIwJTNBNTUlM0EwMS42NjY3NDYlMkIwMCUzQTAw&format=api",
    "previous": "https://api.plot.ly/v2/plots?cursor=cj0xJnA9MjAxOS0wMy0yMCsyMSUzQTAwJTNBNTUuMDI5NjQ0JTJCMDAlM0EwMA%3D%3D&format=api",
    "results": [
        {
            "creation_time": "2019-03-20T21:00:55.029644Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~kaichoulyc/92.embed",
            "fid": "kaichoulyc:92",
            "filename": "IR50_new_sphere_hut",
            "filetype": "plot",
            "img_url": "https://storage.googleapis.com/plotly-prod-images/kaichoulyc/92/9_4XQ0LPRMWEKS4PGS09ESF7FDWECQY9.png",
            "image_urls": {
                "default": "https://storage.googleapis.com/plotly-prod-images/kaichoulyc/92/2_73RAVMO8Y40ENQ42TYJB7IUQSLP949.png",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/kaichoulyc/92/8_9SVLE2X0TEYKJKO13Z3EMWZTHCOMS5.png",
                "list-thumb": "https://storage.googleapis.com/plotly-prod-images/kaichoulyc/92/9_4XQ0LPRMWEKS4PGS09ESF7FDWECQY9.png"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/kaichoulyc:92",
                "plots": "https://api.plotly.com/v2/plots/kaichoulyc:92",
                "parent": "https://api.plotly.com/v2/folders/home?user=kaichoulyc"
            },
            "owner": "kaichoulyc",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "IR50 Sphere best hut",
            "views": 0,
            "web_url": "https://chart-studio.plotly.com/~kaichoulyc/92/ir50-sphere-best-hut/",
            "world_readable": true,
            "date_modified": "2019-03-21T07:27:27.227Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~kaichoulyc/92/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "34cd88dd-df91-4eaa-bfe6-9e04ceebc0ff",
                        "mode": "lines",
                        "name": "FRR",
                        "type": "scatter",
                        "xsrc": "kaichoulyc:93:9d8323",
                        "ysrc": "kaichoulyc:93:85c597"
                    },
                    {
                        "uid": "0831c622-9d76-4337-9274-9e5a3302cd54",
                        "mode": "lines",
                        "name": "FAR",
                        "type": "scatter",
                        "xsrc": "kaichoulyc:93:9d8323",
                        "ysrc": "kaichoulyc:93:e141ff"
                    }
                ],
                "layout": {
                    "title": {
                        "text": "IR50 Sphere best hut"
                    },
                    "xaxis": {
                        "title": {
                            "text": "Treshold"
                        }
                    }
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~kaichoulyc",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/91.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-13.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2019-02-01 00:17:44",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "kaichoulyc",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-03-20T21:00:15.829785Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~parka/42.embed",
            "fid": "parka:42",
            "filename": "Sankey_v1.html",
            "filetype": "plot",
            "img_url": "https://storage.googleapis.com/plotly-prod-images/parka/42/9_7EFIOHN860S33A7SI0HVGDGVVDUVHP.png",
            "image_urls": {
                "default": "https://storage.googleapis.com/plotly-prod-images/parka/42/2_MVN72ADWHRSJWHSWUJX3966KCNFL0T.png",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/parka/42/8_D7NPVNU1OY76KPIRYOX06U5KEZ7Y3K.png",
                "list-thumb": "https://storage.googleapis.com/plotly-prod-images/parka/42/9_7EFIOHN860S33A7SI0HVGDGVVDUVHP.png"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/parka:42",
                "plots": "https://api.plotly.com/v2/plots/parka:42",
                "parent": "https://api.plotly.com/v2/folders/home?user=parka"
            },
            "owner": "parka",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "EMOB Client Product Flow",
            "views": 10,
            "web_url": "https://chart-studio.plotly.com/~parka/42/emob-client-product-flow/",
            "world_readable": true,
            "date_modified": "2019-03-20T21:00:16.758Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~parka/42/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "link": {
                            "valuesrc": "parka:43:cd6068",
                            "sourcesrc": "parka:43:afae87",
                            "targetsrc": "parka:43:3a9214"
                        },
                        "node": {
                            "pad": 15,
                            "labelsrc": "parka:43:749288",
                            "thickness": 20
                        },
                        "type": "sankey",
                        "orientation": "h",
                        "valueformat": ",d",
                        "valuesuffix": ""
                    }
                ],
                "layout": {
                    "font": {
                        "size": 10
                    },
                    "title": "EMOB Client Product Flow",
                    "paper_bgcolor": "#fff"
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~parka",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/31.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-13.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2018-07-13 15:10:48",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "parka",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-03-20T20:58:27.473934Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~shuangliu19931013/4.embed",
            "fid": "shuangliu19931013:4",
            "filename": "calibration",
            "filetype": "plot",
            "img_url": "https://storage.googleapis.com/plotly-prod-images/shuangliu19931013/4/9_HROYCBSA2UWA8ZZVMJGKVKWB4JN9XT.png",
            "image_urls": {
                "default": "https://storage.googleapis.com/plotly-prod-images/shuangliu19931013/4/2_OE6O5VWIGECT60BOVP9I85UWKTFHR1.png",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/shuangliu19931013/4/8_DJTJOWZQF0F8PIK7MKJC0HN4GJ4GC6.png",
                "list-thumb": "https://storage.googleapis.com/plotly-prod-images/shuangliu19931013/4/9_HROYCBSA2UWA8ZZVMJGKVKWB4JN9XT.png"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/shuangliu19931013:4",
                "plots": "https://api.plotly.com/v2/plots/shuangliu19931013:4",
                "parent": "https://api.plotly.com/v2/folders/home?user=shuangliu19931013"
            },
            "owner": "shuangliu19931013",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "",
            "views": 0,
            "web_url": "https://chart-studio.plotly.com/~shuangliu19931013/4/",
            "world_readable": true,
            "date_modified": "2019-03-20T21:02:25.069Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~shuangliu19931013/4/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "d5e79ce5-0c01-4fdb-91c5-1b8c52de555e",
                        "type": "cone",
                        "usrc": "shuangliu19931013:5:f39ab7",
                        "vsrc": "shuangliu19931013:5:5eb6c7",
                        "wsrc": "shuangliu19931013:5:f07e04",
                        "xsrc": "shuangliu19931013:5:000d65",
                        "ysrc": "shuangliu19931013:5:6e8c35",
                        "zsrc": "shuangliu19931013:5:b4f860"
                    }
                ],
                "layout": {}
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~shuangliu19931013",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/23.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-8.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2019-03-20 19:44:46",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "shuangliu19931013",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-03-20T20:57:05.406281Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~parka/40.embed",
            "fid": "parka:40",
            "filename": "plot from API (19)",
            "filetype": "plot",
            "img_url": "https://storage.googleapis.com/plotly-prod-images/parka/40/9_5SWFQX9ZNOPWU31GZ809I6KAKEXZLZ.png",
            "image_urls": {
                "default": "https://storage.googleapis.com/plotly-prod-images/parka/40/2_8YR3WS6YTZ5LDQFTKPW51G4LJQM3GJ.png",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/parka/40/8_YIYGCICNYV2JOTB7QUK766AX9MV5J7.png",
                "list-thumb": "https://storage.googleapis.com/plotly-prod-images/parka/40/9_5SWFQX9ZNOPWU31GZ809I6KAKEXZLZ.png"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/parka:40",
                "plots": "https://api.plotly.com/v2/plots/parka:40",
                "parent": "https://api.plotly.com/v2/folders/home?user=parka"
            },
            "owner": "parka",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "EMOB Client Product Flow",
            "views": 1,
            "web_url": "https://chart-studio.plotly.com/~parka/40/emob-client-product-flow/",
            "world_readable": true,
            "date_modified": "2019-03-20T20:57:06.014Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~parka/40/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "link": {
                            "valuesrc": "parka:41:643308",
                            "sourcesrc": "parka:41:21fd0b",
                            "targetsrc": "parka:41:d6ed23"
                        },
                        "node": {
                            "pad": 15,
                            "labelsrc": "parka:41:50015c",
                            "thickness": 20
                        },
                        "type": "sankey",
                        "orientation": "h",
                        "valueformat": ",d",
                        "valuesuffix": ""
                    }
                ],
                "layout": {
                    "font": {
                        "size": 10
                    },
                    "title": "EMOB Client Product Flow",
                    "paper_bgcolor": "#fff"
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~parka",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/31.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-13.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2018-07-13 15:10:48",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "parka",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-03-20T20:56:52.097361Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~parka/38.embed",
            "fid": "parka:38",
            "filename": "plot from API (18)",
            "filetype": "plot",
            "img_url": "https://storage.googleapis.com/plotly-prod-images/parka/38/9_2NSP224AKYK0PMYSKYGKPE33GZBNCG.png",
            "image_urls": {
                "default": "https://storage.googleapis.com/plotly-prod-images/parka/38/2_K2IBVA67NOYYV3DOR7AXPKJIFA9OO6.png",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/parka/38/8_4U4PD4ACZ8E4BF8N6HEQ1BCQ7CUCYS.png",
                "list-thumb": "https://storage.googleapis.com/plotly-prod-images/parka/38/9_2NSP224AKYK0PMYSKYGKPE33GZBNCG.png"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/parka:38",
                "plots": "https://api.plotly.com/v2/plots/parka:38",
                "parent": "https://api.plotly.com/v2/folders/home?user=parka"
            },
            "owner": "parka",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "EMOB Client Product Flow",
            "views": 1,
            "web_url": "https://chart-studio.plotly.com/~parka/38/emob-client-product-flow/",
            "world_readable": true,
            "date_modified": "2019-03-20T20:56:52.699Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~parka/38/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "link": {
                            "valuesrc": "parka:39:649973",
                            "sourcesrc": "parka:39:1a36cc",
                            "targetsrc": "parka:39:b7c6cb"
                        },
                        "node": {
                            "pad": 15,
                            "labelsrc": "parka:39:5253ff",
                            "thickness": 20
                        },
                        "type": "sankey",
                        "separators": ".",
                        "orientation": "h",
                        "valuesuffix": ""
                    }
                ],
                "layout": {
                    "font": {
                        "size": 10
                    },
                    "title": "EMOB Client Product Flow",
                    "paper_bgcolor": "#fff"
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~parka",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/31.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-13.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2018-07-13 15:10:48",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "parka",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-03-20T20:56:09.443705Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~martijnvanvlie/30.embed",
            "fid": "martijnvanvlie:30",
            "filename": "plot from API",
            "filetype": "plot",
            "img_url": "https://storage.googleapis.com/plotly-prod-images/martijnvanvlie/30/9_3N3CR1RQJZIG7JG5X4023XUTDQMD8F.png",
            "image_urls": {
                "default": "https://storage.googleapis.com/plotly-prod-images/martijnvanvlie/30/2_373MCCIBLF4D22B6IXN6UWX4MH31B1.png",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/martijnvanvlie/30/8_H4G5VSLNEL8EB15FDALE0H70URGX1M.png",
                "list-thumb": "https://storage.googleapis.com/plotly-prod-images/martijnvanvlie/30/9_3N3CR1RQJZIG7JG5X4023XUTDQMD8F.png"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/martijnvanvlie:30",
                "plots": "https://api.plotly.com/v2/plots/martijnvanvlie:30",
                "parent": "https://api.plotly.com/v2/folders/home?user=martijnvanvlie"
            },
            "owner": "martijnvanvlie",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "Criticality versus Vulnerability for all Modes of Transport by road segment",
            "views": 3,
            "web_url": "https://chart-studio.plotly.com/~martijnvanvlie/30/criticality-versus-vulnerability-for-all-modes-of-transport-by-road-segment/",
            "world_readable": true,
            "date_modified": "2019-03-20T20:56:10.410Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~martijnvanvlie/30/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "ea16c760-1dd7-4038-88ad-80d53a111bc3",
                        "mode": "markers",
                        "name": "Heavy Truck",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 0.07205231037489102,
                            "sizesrc": "martijnvanvlie:31:429f20",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "a0f1551a-22ac-40c4-8f85-985afbf2b311",
                        "mode": "markers",
                        "name": "Medium Truck",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 29.877900000069626,
                            "sizesrc": "martijnvanvlie:31:3ed3c1",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "ffed669e-2cb0-4110-b03b-8eb8faad1208",
                        "mode": "markers",
                        "name": "Small Truck",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 33.692100000078526,
                            "sizesrc": "martijnvanvlie:31:2c722e",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "e356a70a-b2f9-4693-8301-b9e6abc30ec6",
                        "mode": "markers",
                        "name": "Large Bus",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 0.7549158864159633,
                            "sizesrc": "martijnvanvlie:31:ee1e45",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "a8fba63d-d3d2-4874-860b-1d0f3f777d5e",
                        "mode": "markers",
                        "name": "Medium Bus",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 0.25632099496594585,
                            "sizesrc": "martijnvanvlie:31:2ee969",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "f7b01fc6-216b-4d2f-877e-b29a7ff26558",
                        "mode": "markers",
                        "name": "Micro Bus",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 29.242200000068156,
                            "sizesrc": "martijnvanvlie:31:b0b628",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "69d4283c-3a47-41a9-9e7c-11a4e552fdb5",
                        "mode": "markers",
                        "name": "Utility",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 12.07830000002815,
                            "sizesrc": "martijnvanvlie:31:4caba1",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "4fa7e189-9814-4ff7-a19f-94bafce30793",
                        "mode": "markers",
                        "name": "Car",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 26.063700000060745,
                            "sizesrc": "martijnvanvlie:31:3181c5",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "242acb99-8cf5-436e-823f-50579f80c569",
                        "mode": "markers",
                        "name": "Auto Rickshaw",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 617.2647000014387,
                            "sizesrc": "martijnvanvlie:31:a4d2fb",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "1bc2f016-9f89-4010-a2ef-fc4219a5285a",
                        "mode": "markers",
                        "name": "Motor Cycle",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 482.49630000112467,
                            "sizesrc": "martijnvanvlie:31:759a97",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "99810572-2133-4774-a43c-5b500cc7f199",
                        "mode": "markers",
                        "name": "Bi-Cycle",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 364.89180000085037,
                            "sizesrc": "martijnvanvlie:31:be18a4",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "d15f1f72-c2bf-4c23-aafa-8fd12d34753e",
                        "mode": "markers",
                        "name": "Cycle Rickshaw",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 480.5892000011201,
                            "sizesrc": "martijnvanvlie:31:fe77e2",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "4bf6a8ce-f4c1-4aaf-b4d4-ea4b79b8a73b",
                        "mode": "markers",
                        "name": "Cart",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 3.1785000000074084,
                            "sizesrc": "martijnvanvlie:31:fd9fce",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "f6f48837-11e8-4f9e-9a4c-1553587d1a5e",
                        "mode": "markers",
                        "name": "Motorized Total",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 1230.7152000028682,
                            "sizesrc": "martijnvanvlie:31:1c13c6",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "b7f6029c-f515-4706-9efc-ffe8cf144fb6",
                        "mode": "markers",
                        "name": "Non Motorized Total",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 848.6595000019779,
                            "sizesrc": "martijnvanvlie:31:e2fa5e",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    },
                    {
                        "uid": "9d35e7e4-a412-4d74-ac3a-efc36064730f",
                        "mode": "markers",
                        "name": "Total_Traffic",
                        "type": "scatter",
                        "xsrc": "martijnvanvlie:31:0d930f",
                        "ysrc": "martijnvanvlie:31:7668a0",
                        "marker": {
                            "line": {
                                "width": 2
                            },
                            "symbol": "circle",
                            "sizeref": 2079.3747000048465,
                            "sizesrc": "martijnvanvlie:31:0432c0",
                            "sizemode": "area"
                        },
                        "textsrc": "martijnvanvlie:31:48862e"
                    }
                ],
                "layout": {
                    "title": {
                        "text": "Criticality versus Vulnerability for all Modes of Transport by road segment"
                    },
                    "xaxis": {
                        "range": [
                            0,
                            1
                        ],
                        "title": {
                            "text": "Criticality"
                        },
                        "ticklen": 5,
                        "gridcolor": "rgb(255, 255, 255)",
                        "gridwidth": 2,
                        "zerolinewidth": 1
                    },
                    "yaxis": {
                        "range": [
                            0,
                            1
                        ],
                        "title": {
                            "text": "Vulnerability"
                        },
                        "ticklen": 5,
                        "gridcolor": "rgb(255, 255, 255)",
                        "gridwidth": 2,
                        "zerolinewidth": 1
                    },
                    "hovermode": "closest",
                    "annotations": [
                        {
                            "x": 1.12,
                            "y": 1.05,
                            "text": "Modes of transport",
                            "xref": "paper",
                            "yref": "paper",
                            "align": "right",
                            "valign": "top",
                            "xanchor": "center",
                            "yanchor": "top",
                            "showarrow": false
                        }
                    ],
                    "plot_bgcolor": "rgb(243, 243, 243)",
                    "paper_bgcolor": "rgb(243, 243, 243)"
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~martijnvanvlie",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/50.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-11.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2018-10-23 11:49:05",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "martijnvanvlie",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-03-20T20:55:24.498795Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~Ghostzhou/10.embed",
            "fid": "Ghostzhou:10",
            "filename": "basic-line",
            "filetype": "plot",
            "img_url": "https://storage.googleapis.com/plotly-prod-images/Ghostzhou/10/9_AUEU1BWH0JYUJREKTQCAG1XD6BGEHP.png",
            "image_urls": {
                "default": "https://storage.googleapis.com/plotly-prod-images/Ghostzhou/10/2_O3GJPSKDWLJGC3GNW80EXLK6TLIQQH.png",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/Ghostzhou/10/8_XNBFZ42PTUMDK1YF6UJUF6TY36K926.png",
                "list-thumb": "https://storage.googleapis.com/plotly-prod-images/Ghostzhou/10/9_AUEU1BWH0JYUJREKTQCAG1XD6BGEHP.png"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/Ghostzhou:10",
                "plots": "https://api.plotly.com/v2/plots/Ghostzhou:10",
                "parent": "https://api.plotly.com/v2/folders/home?user=Ghostzhou"
            },
            "owner": "Ghostzhou",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "",
            "views": 0,
            "web_url": "https://chart-studio.plotly.com/~Ghostzhou/10/",
            "world_readable": true,
            "date_modified": "2019-03-20T20:56:27.192Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~Ghostzhou/10/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "7f80134a-e807-4406-824b-acdee9aaaacc",
                        "type": "scatter",
                        "xsrc": "Ghostzhou:11:e42be6",
                        "ysrc": "Ghostzhou:11:ccccd9"
                    }
                ],
                "layout": {}
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~Ghostzhou",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/81.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-0.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2019-03-05 20:04:43",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "Ghostzhou",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-03-20T20:55:11.524817Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~demoproject/0.embed",
            "fid": "demoproject:0",
            "filename": "grouped-bar",
            "filetype": "plot",
            "img_url": "https://storage.googleapis.com/plotly-prod-images/demoproject/0/9_JXISJ14EX8FN4ZXZGOL35H7EXIZFCB.png",
            "image_urls": {
                "default": "https://storage.googleapis.com/plotly-prod-images/demoproject/0/2_AH7MX47PC0XU7PK8SAG7SKMM9PK02P.png",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/demoproject/0/8_U6LWUVEFNZVCD4DRZ87SUQ8L6X5LED.png",
                "list-thumb": "https://storage.googleapis.com/plotly-prod-images/demoproject/0/9_JXISJ14EX8FN4ZXZGOL35H7EXIZFCB.png"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/demoproject:0",
                "plots": "https://api.plotly.com/v2/plots/demoproject:0",
                "parent": "https://api.plotly.com/v2/folders/home?user=demoproject"
            },
            "owner": "demoproject",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "Loan Plot",
            "views": 0,
            "web_url": "https://chart-studio.plotly.com/~demoproject/0/loan-plot/",
            "world_readable": true,
            "date_modified": "2019-04-05T15:19:07.882Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~demoproject/0/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "01a0e4f5-80c9-4696-946b-4745244112d8",
                        "type": "scatter",
                        "xsrc": "demoproject:1:820d02",
                        "ysrc": "demoproject:1:-820d02"
                    }
                ],
                "layout": {
                    "title": {
                        "text": "Loan Plot"
                    },
                    "xaxis": {
                        "title": {
                            "text": "Credit History"
                        }
                    },
                    "yaxis": {
                        "title": {
                            "text": "(LoanApproval)"
                        }
                    }
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~demoproject",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/61.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-14.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2019-03-20 20:49:00",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "demoproject",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-03-20T20:55:09.494841Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~Ghostzhou/8.embed",
            "fid": "Ghostzhou:8",
            "filename": "plot from API (2)",
            "filetype": "plot",
            "img_url": "https://storage.googleapis.com/plotly-prod-images/Ghostzhou/8/9_VK0WB9VXU1JIIJ1E0OSA02GALNBEZE.png",
            "image_urls": {
                "default": "https://storage.googleapis.com/plotly-prod-images/Ghostzhou/8/2_XTM88R40CDKLG7Y9UQCV3MCPVRSKPT.png",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/Ghostzhou/8/8_IW5QYJDGZ9XGKFMXN1ZRCVUEHVJPMV.png",
                "list-thumb": "https://storage.googleapis.com/plotly-prod-images/Ghostzhou/8/9_VK0WB9VXU1JIIJ1E0OSA02GALNBEZE.png"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/Ghostzhou:8",
                "plots": "https://api.plotly.com/v2/plots/Ghostzhou:8",
                "parent": "https://api.plotly.com/v2/folders/home?user=Ghostzhou"
            },
            "owner": "Ghostzhou",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "",
            "views": 0,
            "web_url": "https://chart-studio.plotly.com/~Ghostzhou/8/",
            "world_readable": true,
            "date_modified": "2019-03-20T20:55:10.340Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~Ghostzhou/8/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "uid": "a205bcd3-93d4-4516-84c6-1c13875f4d85",
                        "type": "scatter",
                        "xsrc": "Ghostzhou:9:93da53",
                        "ysrc": "Ghostzhou:9:aeffd4"
                    }
                ],
                "layout": {}
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~Ghostzhou",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/81.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-0.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2019-03-05 20:04:43",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "Ghostzhou",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        },
        {
            "creation_time": "2019-03-20T20:55:01.666746Z",
            "comments": {
                "results": [],
                "count": 0
            },
            "parented": true,
            "embed_url": "https://chart-studio.plotly.com/~parka/36.embed",
            "fid": "parka:36",
            "filename": "plot from API (17)",
            "filetype": "plot",
            "img_url": "https://storage.googleapis.com/plotly-prod-images/parka/36/9_MRWR0V621O8LUUZLWNNWKCOSOG38YB.png",
            "image_urls": {
                "default": "https://storage.googleapis.com/plotly-prod-images/parka/36/2_NG6VAMAAFMS4E6SQVDGZJGYT17GT1P.png",
                "block-thumb": "https://storage.googleapis.com/plotly-prod-images/parka/36/8_NEBHIEVOGOK25KYN58ARI8VAOLXPE9.png",
                "list-thumb": "https://storage.googleapis.com/plotly-prod-images/parka/36/9_MRWR0V621O8LUUZLWNNWKCOSOG38YB.png"
            },
            "api_urls": {
                "files": "https://api.plotly.com/v2/files/parka:36",
                "plots": "https://api.plotly.com/v2/plots/parka:36",
                "parent": "https://api.plotly.com/v2/folders/home?user=parka"
            },
            "owner": "parka",
            "parent": -1,
            "preview": "",
            "referencers": [],
            "references": [],
            "title": "EMOB Client Product Flow",
            "views": 1,
            "web_url": "https://chart-studio.plotly.com/~parka/36/emob-client-product-flow/",
            "world_readable": true,
            "date_modified": "2019-03-20T20:55:02.351Z",
            "stars": {
                "results": [],
                "count": 0
            },
            "collaborators": {
                "results": [],
                "count": 0
            },
            "subfolder_count": null,
            "refresh_interval": null,
            "organize_view_url": "https://chart-studio.plotly.com/~parka/36/",
            "current_user_permission": "read",
            "is_theme": null,
            "is_template": null,
            "autosize": true,
            "caption": "",
            "figure": {
                "data": [
                    {
                        "link": {
                            "valuesrc": "parka:37:6c161e",
                            "sourcesrc": "parka:37:604d2c",
                            "targetsrc": "parka:37:a03e98"
                        },
                        "node": {
                            "pad": 15,
                            "labelsrc": "parka:37:d7f9cf",
                            "thickness": 20
                        },
                        "type": "sankey",
                        "orientation": "h",
                        "valueformat": ",d",
                        "valuesuffix": ""
                    }
                ],
                "layout": {
                    "font": {
                        "size": 10
                    },
                    "title": "EMOB Client Product Flow",
                    "plot_bgcolor": "red"
                }
            },
            "height": null,
            "width": null,
            "user": {
                "profile_url": "https://chart-studio.plotly.com/~parka",
                "avatar_url": "https://storage.googleapis.com/plotly-prod-profiles/31.jpg",
                "background_url": "https://storage.googleapis.com/plotly-prod-profiles/bg-13.jpg",
                "bio": "",
                "nickname": "",
                "website": "",
                "stream_tokens": null,
                "feature_set_id": null,
                "csrf_token": null,
                "date_joined": "2018-07-13 15:10:48",
                "mapbox_access_tokens": null,
                "has_password": null,
                "username": "parka",
                "email": null,
                "is_active": null,
                "readonly": null,
                "is_dash_creator": null,
                "dash_created_count": null,
                "is_chart_creator": null,
                "charts_created_count": null
            }
        }
    ]
}