We study the coordination game with an aspiration-driven update rule in regular graphs and scale-free networks. We prove that the model coincides exactly with the Ising model and shows a phase transition at the critical selection noise when the aspiration level is zero. It is found that the critical selection noise decreases with clustering in random regular graphs. With a non-zero aspiration level, the model also exhibits a phase transition as long as the aspiration level is smaller than the degree of graphs. We also show that the critical exponents are independent of clustering and aspiration level to confirm that the coordination game belongs to the Ising universality class. As for scale-free networks, the effect of aspiration level on the order parameter at a low selection noise is examined. In model networks (Barabási-Albert network and Holme-Kim network), the order parameter abruptly decreases when the aspiration level is the same as the average degree of the network. In real-world networks, in contrast, the order parameter decreases gradually. We explain this difference by proposing the concepts of hub centrality and local hub. The histogram of hub centrality of real-world networks separates into two parts unlike model networks, and local hubs exist only in real-world networks. We conclude that the difference of network structures in model and real-world networks induces qualitatively different behavior in the coordination game.The coordination game describes the emergence of standards, opinion formation, and the diffusion of innovations, which are important problems in sociology, business administration, and statistical mechanics. In this paper, we study the coordination game with an aspiration-based update rule, where each agent prefers to change its strategy if the payoff is small relative to the aspiration. For regular graphs, we demonstrate that the game shows phase transition into a frozen state dominated by one strategy as the selection noise decreases. Interestingly, the critical exponents, which determine the critical behavior at the transition, are the same as the Ising model in spite of the nonequilibrium nature of the coordination game. As for scalefree networks, we discovered a striking difference between model networks and real-world networks in the dynamics of the coordination game. We show the difference is from local hubs, which exist only in real-world networks. Local hubs play dominant roles within their neighborhoods, though their degrees are not so large. The local hubs are identified by the hub centrality, which we propose in this paper. We further discuss the dynamics of local hubs and relation with their neighbors.