Graphing Examples


The Data Visualization Examples.ana model shows off several displays from cell formatting to maps and much more between.


Creating custom graphs is often underutilized due to its syntax being unconnected to any other programming languages. Given this and rising demand for Analytica Cloud Platform (ACP) models, it only made sense to create a comprehensive model that took several commonly requested displays with detailed step-by-step instructions so that users can confidently extend what they learn from this model into their own models.



Only want to recreate on specific feature? No problem. With the Data Visualization Examples.ana model we made it a point to breakdown complex graphs into multiple digestible parts to create an easier learning experience.

Contents

When you open the Graphing examples library, you'll see the following example graphs, each contained in their own module:

Summary of Graphing examples


Labels and Ordering Results

  • CanvasDrawLine() and CanvasDrawText() function: Adding a vertical budget line
  • Plot_point_labels() function: Adding labels to graphs
  • Starting the graph at the origin


Probability Bands

  • Plot_solid_prob_band() function: Creating solid probability bands
  • Changing band colors


Shape Files and Polygon Fills

  • Drawing shapes
  • Filling in shapes
  • Setting shape fill colors based on data values


Cell Formats

  • CellFormat() function
  • CellFill() function: Alternating row colors
  • CellFont() function: Custom text color based on cell value
  • CellSpan() and CellBorder() functions: Custom borders on rows and columns
  • CellBar() function: Filled bars based on cell value
  • Fill_Cells_ColorGrad() function: Conditional formatting cells with gradients based on values


Indicators on a Distribution

  • Plot_axis_thresholds() function: Adding vertical distribution indicators


Can't find what you're looking for or have a contribution to make? Let us know at the Analytica User Forum and help guide this evolving library!


Comments
Loading comments...