A chart showing how the S&P 500, Nasdaq Composite, and Dow Jones Industrial Average performed in 2023.