Skip to content

Analyzing unicorn company data
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
-- List the 5 companies that attracted the most funding
SELECT *
FROM companies
INNER JOIN funding ON companies.company_id = funding.company_id
ORDER BY companies.company_id ASCimport plotly.express as px
fig = px.scatter(df, x='funding', y='valuation', log_x=True, log_y=True, title='Company Valuation vs Funding', hover_name='company')
fig.show()dfhist = px.scatter(df, x='country', y='company', title='Company per country', hover_name='company')
hist.show()