Skip to content
Analyzing unicorn company data
DataFrameas
df
variable
SELECT * FROM companies INNER JOIN funding USING(company_id)
import plotly.express as px
# Create a scatter plot using Plotly
fig = px.scatter(df, x='funding', y='valuation', log_x=True, log_y=True,
hover_name='company', hover_data=['city', 'country', 'continent'],
title='Valuation vs Funding')
# Show the plot
fig.show()