Skip to content

Analyzing unicorn company data
Unicorn funding vs valuation
Analyzing unicorn company data
In this workspace, we'll be exploring the relationship between total funding a company receives and its valuation.
DataFrameas
df
variable
SELECT *
FROM companies
INNER JOIN funding USING(company_id);import plotly.express as px
import pandas as pd
# Assuming you have already connected to the database and fetched the data into a DataFrame
# Replace df with the actual DataFrame containing the data from the database
fig = px.scatter(df, x='funding', y='valuation', log_x = True, log_y = True, title='Valuation vs Funding', hover_name = "company")
fig.show()- Positive correlation
- Some companies with valuation < total funding