I have problem with correctly formatting a scatterplot using pandas and plotly. I would like to achieve something similar to the plot below (created with google sheets).
Using exactly the same data using google colab pandas and plotly I have a completely different visualization where all points are put on a grid which makes visualizing outliers very hard.
How can I achieve a result similar to the plot from google sheets using python? Preferably an interactive one in plotly.
import numpy as np
import pandas as pd
import hvplot.pandas
import plotly.express as px
import matplotlib.pyplot as plt
worksheet= spreadsheet.worksheet('left_to_right') ;
# get_all_values gives a list of rows.
rows = worksheet.get_all_values()
df = pd.DataFrame(rows)
headers = df.iloc[0]
cols = list(df.columns)
pd.options.plotting.backend = "plotly"
df.plot(
kind='scatter',
x=cols[0],
y=cols[1:],
width=1500,
height=1000
)
Link to dataset: https://docs.google.com/spreadsheets/d/1NOHH9dUEAhRjrl0NWq_zUIgzUdYfupJjuEaXyRmTFEY/edit?usp=sharing


