4. Chart Definitions & Variables - jonboone1/plotlyPowerpoint Wiki

Global variables to use in every chart

Below is a sample of a very basic line chart. After this, I will go through each definition and how to use it.

 { 
        "data": df2,
        "type": "line",
        "name": "Stock Prices by Company",
        "filename": 'charts/stock-prices-by-company',
        "metrics": [
            {"name": "JohnsonJohnson", "prettyName": "Stock Price", "method": "mean"}
        ],
        "axis": "year"
 }

Global Variables

Specifics for each chart type

Line Chart

Bar Chart

Facet Line Chart

Facet Bar Chart