My workbooks
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
Sign up
Beta
Spinner
Unknown integration
DataFrameavailable as
df
variable
SELECT funding, valuation, company FROM funding INNER JOIN companies USING(company_id)
This query is taking long to finish...Consider adding a LIMIT clause or switching to Query mode to preview the result.

Matplotlib and seaborn

import matplotlib.pyplot as plt
plt.scatter(x = df['funding'].tolist(), y = df['valuation'].tolist());
plt.rcParams["figure.figsize"] = (12,6)
plt.scatter(x = df['funding'].tolist(), y = df['valuation'].tolist())
import seaborn as sns
sns.scatterplot(data=df, x="funding", y="valuation")

Plotly

import plotly.express as px
px.scatter(df, x='funding', y='valuation', log_x=True, log_y=True, hover_name='company')
px.scatter(df, x='funding', y='valuation', log_x=True, log_y=True, hover_name='company', width=800, height=600)
  • AI Chat
  • Code