Use the data from Big Class.jmp to draw pictures according to the following JSL,
The X-axis is grouped by age and compared according to the number of occurrences of each age and the average of the total number of ages
If the number of occurrences of this age is greater than the average, the background color of this age column is red;Otherwise it is green.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
d2 = dt << Summary( Group( age ), Freq( "0" ), Weight( "0" ), Link to original data table( 0 ) );
Column( d2, 2 ) << set name( "co" );
s = Median( d2[0, 2] );
ca = "than";
New Column( ca );
Column( ca ) << Formula( co > s );
d2 << run formulas;
Column( ca ) << deleteFormula;
dt << Update( With( d2 ), Match Columns( age = age ), Add Columns from Update table( than ) );
p1 = dt << Graph Builder(
Variables( X( :weight ), Y( :height ), Group X( :age ), Color( :sex ) ),
Elements( Bar( X, Y, Legend( 5 ), Response Axis( "X" ) ) )
);

Create column with all values of 70, create graph builder with bar chart and line chart (x: weight, yaxis: height + column 7, overlay: than, color: sex) and modify line chart settings (fill to fill below), disable x axis from line chart, modify legend as needed. You should be able to track most of the changes just be checking out the graph builder and what has been set and where

Right click on the graph, and select Add=>Line