cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
lala
Level VIII

How can make this diagram with JSL?

Hello!

 For example, using the big class example, The number of rows on the "age" line is similar to bubble chart ABCD column.Use different colors and values to determine bubble size based on the positive and negative values of the four columns. Just like this example.

2023-04-14_22-42-21.png

1 REPLY 1
lala
Level VIII

回复: How can make this diagram with JSL?

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
m = {"A", "B", "C", "D"};
For( i = 1, i <= N Items( m ), i++,
	New Column( m[i] )
);
Column( "A" ) << Formula( If( Mod( Row(), 5 ) == 0, height ) );
dt << run formulas;
Column( "A" ) << deleteFormula;
Column( "B" ) << Formula( If( Mod( Row(), 7 ) == 0, weight ) );
dt << run formulas;
Column( "B" ) << deleteFormula;
Column( "C" ) << Formula( If( Mod( Row(), 5 ) == 0, -height ) );
dt << run formulas;
Column( "C" ) << deleteFormula;
Column( "D" ) << Formula( If( Mod( Row(), 7 ) == 0, -weight ) );
dt << run formulas;
Column( "D" ) << deleteFormula;

2023-04-14_22-39-46.png

Recommended Articles