The sector returns for the S&P 500 index by year are shown in the chart below. In 2017, the technology sector was the best performer with a return of about 39%. The worst performing sector was the telecom sector.
Click to enlarge
Source: Novel Investor