Difference between revisions of "Graphing Examples"

m (removed space after header)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOINDEX__
+
The [https://downloads.analytica.com/Bfilstrup/Advanced_Visualization_Examples_Jun2023.ana Data Visualization Examples.ana] model shows off several displays from cell formatting to maps and much more between. 
 +
<br ><br >
 +
<center>
 +
:[[image:Data_Visualization_Examples.png|750px]]
 +
</center>
  
Creating this page to get a rough idea what it might look like to have a hub specifically for graphs. Personally speaking, I think graphs may benefit different from a conventional search in that it shouldn't contain every single permutation of graphs separately BUT it should contain semi-comprehensive, step-by-step examples that take the fear out of working with graphs. Additionally, on this page you would be able to visibly see the graphs so if you don't know the exact terminology of what you're looking for, you're brought to a fairly succinct page that you can quickly sift through and find a graph close to what you want to accomplish. Part of how we solve the discoverability issue is by placing it i=under the Analytica 'Help' tab near the other wiki mentions. I think graphing is important enough & a large enough struggle to warrant placement of the page in the software. It might be placed somewhere like here:
 
  
:[[image:Analytica_Graph_Wiki_Addition_Proposal.png|325px]]
+
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.
 +
<br><br />
  
 +
<center>
 +
:[[image:Data_Visualization_Examples_Probability_Bands.png|1000px]]
 +
</center>
  
 +
<br><br />
 +
Only want to recreate on specific feature? No problem. With the [https://downloads.analytica.com/Bfilstrup/Advanced_Visualization_Examples_Jun2023.ana Data Visualization Examples.ana] model we made it a point to breakdown complex graphs into multiple digestible parts to create an easier learning experience.
 +
<br><br />
 +
<center>
 +
:[[image:Data_Visualization_Examples_Labels_Ordering_Results.png|750px]]
 +
</center>
  
Example of what each item might look like:
+
=== Contents ===
 +
When you open the '''Graphing examples library''', you'll see the following example graphs, each contained in their own module:
 +
{| class="wikitable"
 +
|+Summary of Graphing examples
 +
|[[File:Labels and ordering results example.png|450x450px]]
  
=== Fan Chart ===
 
  
:[[image:Fan_Chart.png|500px]]
+
'''Labels and Ordering Results'''
  
'''Download:''' [[Media:Example_Download_Page.ana|Example_Download_Page.ana]]
+
* ''CanvasDrawLine()'' and ''CanvasDrawText() f''unction: Adding a vertical budget line
 +
* ''Plot_point_labels()'' function: Adding labels to graphs
 +
* Starting the graph at the origin
 +
|[[File:Probability bands example.png|450x450px]]
  
  
 +
'''Probability Bands'''
  
=== Heat Map ===
+
* ''Plot_solid_prob_band()'' function: Creating solid probability bands
 +
* Changing band colors
 +
|-
 +
|[[File:Shape files and polygon fill example.png|450x450px]]
  
:[[image:Heat_Map_Chart.png|500px]]
 
  
'''Download:''' [[Media:Example_Download_Page.ana|Example_Download_Page.ana]]
+
'''Shape Files and Polygon Fills'''
  
 +
* Drawing shapes
 +
* Filling in shapes
 +
* Setting shape fill colors based on data values
 +
|[[File:Cell formats example.png]]
  
  
etc. etc.
+
'''Cell Formats'''
  
This doesn't follow the same format but another thing that may belong on here is a concise section on helper graph functions (like the better debug function demoed by Lonnie):
+
* ''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
 +
|-
 +
|[[File:Indicators on a distribution example.png|450x450px]]
  
=== Helper Functions ===
 
  
Currently includes:
+
'''Indicators on a Distribution'''
* Graph_Debug_Info(): Better debug output function
 
  
:[[image:Old_to_New_Graph_Debug_Console.png|500px]]
+
* ''Plot_axis_thresholds()'' function: Adding vertical distribution indicators
 +
|
 +
|}
  
'''Download:''' [[Media:Helpful_Graph_Functions.ana|Helpful_Graph_Functions.ana]]
+
 
 +
Can't find what you're looking for or have a contribution to make? Let us know at the [https://lumina.com/community/main-category/ Analytica User Forum] and help guide this evolving library!
 +
<br><br /><br />

Latest revision as of 01:13, 20 October 2023

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

Data Visualization Examples.png


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.

Data Visualization Examples Probability Bands.png



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.

Data Visualization Examples Labels Ordering Results.png

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 example.png


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 example.png


Probability Bands

  • Plot_solid_prob_band() function: Creating solid probability bands
  • Changing band colors
Shape files and polygon fill example.png


Shape Files and Polygon Fills

  • Drawing shapes
  • Filling in shapes
  • Setting shape fill colors based on data values
Cell formats example.png


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 example.png


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


You are not allowed to post comments.