A country can be well-comprehended through its core cities. Similarly, we can learn about a city from its hotspots, as they manifest the concentration of urban infrastructures and human activities. Following this philosophy, this paper studies the intra-urban form and function from a complexity science perspective by exploring the power law distribution of hotspot sizes and related socio-economic attributes. To detect hotspots, we rely on spatial clustering of geospatial big data sets, including street data from OpenStreetMap platform and nighttime light (NTL) data from the visible infrared imaging radiometer suite (VIIRS) imagery. Unlike conventional spatial units, which are imposed by governments or authorities (such as census block), the delineation of hotspots is done in a totally bottom-up manner and, more importantly, can help us examine precisely the scaling pattern of urban morphological and functional aspects. This results in two types of urban hotspots—street-based and NTL-based hotspots—being generated across 20 major cities in China. We find that Zipf’s law of hotspot sizes (both types) holds remarkably well for each city, as do the city-size distributions at the country level, indicating a statistically self-similar structure of geographic space. We further find that the urban scaling law can be effectively detected when using NTL-based hotspots as basic units. Furthermore, the comparison between two types of hotspots enables us to gain in-depth insights of urban planning and urban economic development.