Prompt2ChartSign up

College Majors and Earnings

D3.js
Post on XLinkedInWhatsAppRedditBluesky

About this chart

Chart Insights

  • The scatter plot shows a positive correlation between the share of women and median salary, indicating that fields with more women tend to have higher median salaries.
  • The trend line suggests that as the share of women increases, the median salary also rises, which may reflect gender equity efforts in higher-paying fields.
  • The interactive legend allows users to filter the data by major category, making it easier to compare specific fields.
  • The zoom and pan functionality enables detailed exploration of specific data points, enhancing user engagement and data analysis.

Dataset Insights

  • Engineering majors dominate the dataset, which may influence overall trends due to their high median salaries.
  • The presence of outliers with very high or low median salaries could skew the perception of salary distribution across different majors.
  • The dataset includes a wide range of total graduates, from small niche fields to large popular majors, affecting the size of the bubbles.
  • The unemployment rate varies significantly across majors, highlighting potential job market challenges for certain fields.

Want to make charts like this from your own data?

Upload a CSV or JSON file, describe what you want to see, and get an interactive chart in seconds. 100 free charts — no credit card needed.

D3.js & Vega-Lite chartsExport PNG, SVG, HTMLFree to start
Make my first chartNo dataset? Start with sample data →

Chart history

  1. Make a scatter plot where X = ShareWomen (% female), Y = Median salary, bubble size = Total graduates, color by Major_category. Add hover tooltips showing major name and salary. Title: 'What You Studied vs. What You Earned'. Use a dark background with vibrant colors

  2. Make the background white

  3. Include a filter for major categories.

  4. Add a trend line to the scatter plot.

  5. the filter buttons should clearly show if they're on or off

  6. add zoom and panning

  7. add more demographic and unemployment information in the tooltips

  8. change the men and women data in the tooltips to be percentages

  9. add axis labels and retitle the chart to explain the x axis is the share of women in the role

  10. use 16 unique colors for the different profession grouping colors

Prompt2Chart — create AI charts from your own data

Try now