I feel like there's probably a better way of getting a shaded background to your table, but still, at least as a point of interest, you might like to know that you can optimise that code with *{28}{>{\columncolor[HTML]{EFEFEF}}l} The *{n}{x} syntax means n copies of the column specifier. So *{5}{l} would mean 5 left-aligned columns. Used in specifying table columns, and possibly some other places, but not generally. Can be used multiple times, e.g. *{2}{c}rl*{5}{p{1cm}}
– Au101Aug 26 '16 at 3:52

Please state the page width, the width of the text block, the document font size, and the font you use (if not Computer Modern).
– MicoAug 26 '16 at 4:55

3 Answers
3

Therefore the following example rotates it via environment sidewaystable of package rotating.

The width of the table is still too large, therefore it is decreased by
reducing the space between columns via setting \tabcolsep to a smaller value.

The background color is set by a simple \colorbox instead of coloring each column individually with the same color. \colorbox uses an additional margin, which is controlled by \fboxsep, which is set to zero here locally.

The lines are set by the macros of package booktabs, which have a nicer spacing behavior.

Package caption fixes the vertical spacing around table caption, which appear on top of the tabular.

Assuming your document uses a "normal" paper size (A4 or US letter), "normal" page margin (say, 1 inch), and font size of 10pt, it is possible (though only just) to make the table fit inside the text block without rotating it into "landscape" mode. I suggest you

reorganize the table's header by combining the header and footer lines and center the label "States" over columns 3 thru 28,

eliminate some redundancies in the column labelled "Option".

use a tabular* environment to set the width of the table equal to \textwidth, and

Separately, I would also like to suggest that you use the line-drawing macros of the booktabs package (instead of \hline) and add a bit of whitespace between some of the rows. These changes will help a reader's eye glide over the copious material.