Skip to main content
100%

prototype scatterplot

✓ Published0🌍 Public
YYF
Last edited Nov 8, 2018
Created on Oct 3, 2018

This prototype scatterplot visualizes the correlation between total graduates and median salary for 173 graduate programs, with points colored by major category using d3.scaleOrdinal. The code loads CSV data via d3.csv, applies d3.scaleLinear for both axes, and renders SVG circles with axis labels and gridlines via d3.axisLeft and d3.axisBottom. A legend enables interactive filtering by category through click events that adjust circle opacity. Data originates from FiveThirtyEight’s college majors dataset, and the chart uses d3.v5 with an SVG rendering approach.

AI-generated description

This scatterplot shows the correlation between the total graudates and the median salary of 173 graduate programs, grouped by the program category. The data comes from The Economic Guide To Picking A College Major by FiveThirtyEight.

MIT Licensed

Similar vizzes