Oracle Fusion AI Data Platform Forum

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Salary gender pay gap

Received Response
21
Views
2
Comments

I have this example:

image.png

1st column: salary

2nd: gender

3rd and on: other variables

I'm trying to plot a scatter chart, so far I have this:

image.png

I'm trying to obtain something like this, with line showing all coefficients:

image.png

What I'm doing wrong? I tried different configurations

Answers

  • Vasudha_Oracle-Oracle
    Vasudha_Oracle-Oracle Rank 1 - Community Starter

    Your scatter plot only has the X-axis configured (Retribuzione/Salary) but is missing a Y-axis measure. A scatter plot needs two numeric measures to plot points meaningfully.To get the regression line like in your example image, after the chart renders properly you need to: right-click on the visualization → Add Statistics → Trend Line, then choose Linear.

  • Stefano_Mazzocca
    Stefano_Mazzocca Rank 6 - Analytics & AI Lead

    Hi @Vasudha_Oracle-Oracle , this is the result:

    image.png