variance of a portfolio with n assets

how to show traffic lights on google maps