Skip to main content
Public

Share visualization

Loading preview…

Best Colleges: Rank vs Cost

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Best Colleges: Rank vs Cost

0
MMartin Blatz
Last edited Sep 24, 2020
Created on Sep 17, 2020

This example plots 650 colleges from the Forbes Best Colleges 2019 list, with rank on the x-axis and net price on the y-axis, using a circle mark colored by public or private status. It shows that while public schools tend to cost less, there is no strong correlation between rank and price. The visualization is built with the Vega-Lite API, which registers vega and vega-lite, and loads CSV data via d3.csv. Axis labels and titles are customized through a config object, and tooltips display the college name.

AI-generated description

A program that loads and parses some CSV data from the Forbes Best Colleges of 2019 list.

The visualization shows the distribution of colleges plotted by rank along the X axis and net price along the Y Axis. Color indicates the university is either private or public.

It's unsurprising that public schools are generally less expensive, but it is interesting that the cost isn't highly correlated with rank.

Comments

Sign in to join the discussion.

MIT Licensed