Quantico Plotting
The intent of this article is to introduce new users to the plotting capabilities of Quantico. Creating visualizations is a common task among data professionals and the goal of Quantico is to make that process as easy as possible while enabling high quality output.
Quantico makes use of my package AutoPlots, which runs echarts4r under the hood. So what does the Auto mean in AutoPlots? The goal was to create a common api for plot types that only requires a single function to be ran in order to generate a high quality plot. With echarts4r (along with plotly and ggplot2), a user must iterate through a series of function calls in order to produce a plot of their liking. AutoPlots abstracts all of that away and even takes care of much of the data wrangling needed into order to utilize those packages.
Another benefit is that AutoPlots utilizes data.table under the hood so working with big data is super fast.
Okay, aside from AutoPlots, let's get back to Quantico. There are three things I'd like to cover that should get you all going for the most part:
Available Plots
Okay, so let's start with the available plots. There are 37 plot types available, in which 25 are generic and 12 are dedicated to model evaluation. The plots are currently organized as follows:
Distribution:
Aggregate:
Time Series:
Relationship:
ML Evaluation:
Output Panel Options
The output plotting panel is where you determine what should get plotted, what order the plots should be displayed, the sizing of the plots, what the output grid should look like, the font size, and the maximum group levels to have displayed.
When you select a plot type a box appears in the top left gray panel. If you move the box to the bottom panel then it will be displayed when you click the Run button. Perhaps you've setup 12 plots but only want to display a few of them. That's the reason for that functionality.
领英推荐
If you want to display two plots per row, or more, utilize the Output Columns slider input to manage that.
Input Modals Requirements and Options
Once you select a plot type you simply click the button below to expose a modal that displays the various tabs where you select data, choose variables, choose group variables, levels, and an aggregation method, then filter variables, and lastly a few options for formatting the title, axis, and whether you want to show the data values on your plot. See the github readme or the documentation tab in the app to get more details about options and their meanings.
Output Examples
Partner and CMO @ Chief Outsiders | Helping CEO's and Founders of small to medium sized businesses achieve their growth and revenue goals.
1 年It sure has cool visualizations.
Research & Insights Manager at Digital Jungle
1 年It's looking really good, I will try that!