Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Plot Sectors against S&P 500

I would like to plot various sectors against the S&P 500. For example, price performance of industrials versus the S&P 500.
What would be the best method of doing this any ideas? I have managed to use a pipeline to filter down to all industrials which was fairly simple but then I run into the problem of being able to aggregate each equity in order to form some kind of plot. Ideally I would like to have some gauge of how each sector performs during a business cycle. Thank you