@twillkickers, the answer to your question is “yes”, with JSL you can manipulate either the Graph Builder or the Pareto Plot to provide the display you are looking for. However, the Packed Bar option in Graph Builder gets you almost everything you want (except the label for the combined total of your bottom causes). To display this total will require some manipulation as mentioned previously. Something to consider before deciding whether the additional manipulations are worth the effort is that this total is actually redundant information – the relative bar height and the y-axis visually convey this information.
That said, if you still require the total for the “other” columns to be displayed, here is an approach you might take (still using Nicardipine.jmp as an example):
Use the Distribution platform script provided previously to create a column for the cause levels (1-9 and 10+)
Create a formula column for your new categories, i.e.:
If( :Level Investigator Name < 10, :Investigator Name, "Other")
Use Graph Builder to create a bar chart for the new categories ordered by the Levels column (assuming you want the “Other” category to the right, otherwise, just right-click the axis and select order by count to see where “Other” fits within your top 9 causes):
Graph Builder(
Size( 869, 318 ),
Show Control Panel( 0 ),
Variables(
X(
:New Investigator Name,
Order By(
:Level Investigator Name,
Ascending,
Order Statistic( "Sum" )
)
)
),
Elements( Bar( X, Legend( 3 ), Label( "Label by Value" ) ) )
);
All of these actions can be pasted together to create a script. If you need help with this, I would suggest consulting the Help->Books->Scripting Guide and the Help->Scripting Index and search for “New Column” to get the syntax for creating a new formula column in your data table.