![]() ![]() Rename the worksheet “Scatterplot View” by right-clicking on the tab at the bottom.Select Analysis in the top menu and check Trend Lines.Change Color to purple, open the Drop down menu next to “Automatic” and select Circle, then move the slider below to the left to increase transparency of the points.Without this step, Tableau’s default behavior is to sum the values across all the counties and states, which will give you a single data point for each graph, and not the desired scatter plots. Drag “County” and “State” into Level of Detail.Drag “Adult obesity rate” onto Rows and “% smokers”, “% eating few fruits and vegetables” and “% who do not exercise” into Columns.Rename the worksheet “Map View” by right-clicking on the tab at the bottom. Finished state of the first view looks like the following.Right click on “State” in the Filters shelf and select Show Quick Filter.Click and drag “State” into the Filters shelf, click OK at the dialog box. Now add a filter to enable the selection of individual states.Drag “Adult obesity rate” from the Measures panel into Color, and copy it into Size shelf to encode counties by those values. ![]() Now you have a map showing a dot for every county where you have a record.
0 Comments
Leave a Reply. |