Made For Developers With

Time Series Charts

Time is one of the most common elements of a data relationship. With Popily, requesting a visualization of a relationship is as easy as a few lines of code.

var insightOptions = {
    source: 'sales-data',
    columns: ['Order Date', 'Sales', 'Customer Segment'],
    calculations: [
      {
        column: 'Sales',
        calculation: 'sum'
      }
    ]
};

popily.chart.getAndRender('#chart-1', insightOptions);

Popily's intelligent analytics engine has examined the requested relationship and made some decisions for us: the most appropriate visualizations format, time groupings, and labeling position to name a few. This means that you can focus on what you do best and let Popily do the grunt work of running the restructuring, calculations, and visualization decisions.

While Popily makes all the necessary decisions for you, every visualization is highly customizable. For example, in the chart above, Popily's analytics engine examined the nature of the date order and made the decision to group sales by year. But what if we want total sales by customer segment grouped by month? Just tell Popily.

var insightOptions = {
    source: 'sales-data',
    columns: ['Order Date', 'Sales', 'Customer Segment'],
    calculations: [
      {
        column: 'Sales',
        calculation: 'sum'
      }
    ],
    timeInterval: 'month'
};

popily.chart.getAndRender('#chart-2', insightOptions);

What about filtering the relationship request to a specific time period. For example, we only want to see the relationship on or after April 11th, 2011.

var insightOptions = {
    source: 'sales-data',
    columns: ['Order Date', 'Sales', 'Customer Segment'],
    calculations: [
      {
        column: 'Sales',
        calculation: 'sum'
      }
    ],
    timeInterval: 'month',
    transformations : [{
        column: 'Order Date',
        op: 'gte', // Greater than or equals to
        value: '2011-04-11'
    }]
};

popily.chart.getAndRender('#chart-3', insightOptions);

Popily is the only analytics product which uses an advanced analytics engine to let you focus on the relationships you care about in your data. Ask Popily for a relationship and Popily does the heavy lifting and decision-making to make a best-practice chart visualizing that relationship. But there is much more to see.