Surveys often elicit the US State of residence from respondents. It's possible to display these as stylized US maps.

Image Caption

Initially Protobi displays state much like any other variable, as a bar chart:


To display states as  geographical shapes as in the first image at top, select "Edit JSON ..." from the edit icon and set the attribute "chartType": "Choropleth".


Another option is the "Squaires" layout as used by the Wall Street Journal and NPR. This displays each state as an equal size square approximately geographically arranged. For this set "chartType": "Squaire":

Another option is the "HexMap" layout as used by the Wall Street Journal and NPR. This displays each state as an equal size hexagon approximately geographically arranged  For this set "chartType": "HexMap":

Each of these maps assume that the data values are two digit state codes (e.g., "AK") or complete state names (e.g., "Alaska").  

If the raw data is other values, e.g., numeric codes, that are formatted to display as state abbreviations or names, it may be necessary to reformat the data. This can often be as simple as renaming the attribute "format" to "reformat" in "Edit JSON..." and setting "format" to null.