This feature allows you to plot graphs that share the same y-axis.
Add Your Data to Chart Studio
The first step is to head to Chart Studio’s new online workspace and add your data. It's also a good idea to name your columns beforehand (either by adding your data using Chart Studio, or naming them in the CSV or Excel file that you're uploading), and label your axes. This will make selecting specific traces easier.
Create a Plot
After adding your data, go to GRAPH on the left-hand side, then 'Create'. Choose your 'Chart type', and add your traces using the X and Y dropdown (this section is different depending on the chart type. We'll use the bar chart for the first trace.
Select a Subplot
For the second trace, we'll click the blue '+Trace' button on the right-hand side of the panel, change the chart type to 'Scatter plot', select our x and y values, then click on 'Subplot and Multiple Axes'.
This will open a section where you can select an arrangement for your subplot.
We'll select the 'Side by Side X-Axis' arrangement for this trace and select CONFIRM. This will add a subplot to the right of your original plot with a unique x-axis. The y-axis will remain shared. Notice when you zoom in on one subplot, the zoom will be applied vertically to the other subplot as well.
If you select an arrangement and then change your mind, the 'Undo' button will cancel the last arrangement selection only. This is very important to remember.
We'll label the x-axis for that last plot by double-clicking the area and typing it directly.
Style a Plot
Save and Share
Your plot is now done! Click SAVE on the left-hand side.
Give your PLOT and DATA a filename and select the privacy setting. For more information on how sharing works, including the difference between private, public, and secret sharing, visit this page.