This paper studies the implications of data technology for firm dynamics and asset prices. We develop a heterogeneous firm model in which firms optimally hire data workers to learn about unobserved consumer preferences. Data enhances firms' demand forecasting accuracy, enabling them to charge higher markups. These firms' profits are also more exposed to aggregate shocks and earn higher returns. Using a novel dataset that tracks firms' employment of data workers, we document three key empirical findings that support the model's main mechanisms: firms with a higher share of data workers exhibit larger markups, higher information quality, and higher stock returns.