Tableau Scatter plot with Dimensions
The scatter plot represents the data in which many points are scattered in the Cartesian plane according to the given figures. It is generated by plotting data of numerical variables as X and Y coordinates in the Cartesian plane. To create a plot in Tableau, you need to drag at least one measure in the Rows shelf and another one measure in the Columns shelf. However, we can add dimension fields to the scatter plot which play a role in marking different colors for the already existing points in the scatter graph. Tableau also offers the Scatter chart option in the Show Me card.
Simple Scatter Plot
Let’s create a simple scatter chart using tableau public:
- Connect your tableau to excel files. Click on excel and choose your respective file.
- Under the Marks card, select the scatter chart option.
- Drag your measure up and put it into rows shelf. Here we have taken sales.
- Now, we will take another measure and drag that up and drop it into the column shelf. You will get your first glance for scatter plot. You will notice just one point, but it’s aggregated all of those points into one spot.
- Now we will drag down the dimension (here we have taken a month), and drop it into markers area. You will notice a scatter chart where every dot indicates the month data.
You can change the color of the scatter plots by dragging any dimension in the color field under the marks card. For the resulting screenshot, you can see that the colors of every scattered plot have been changed.
Unlike color, you can also change the shape of the scatter plots. The shape can be altered to circle, diamond, square, cross, etc. Drag the dimension field to the Shape Field under marks card. You will notice various shapes representing your scatter plots.