In this example, the number of active users of a product in each province is counted. The data comes from the mysql database and is divided into different levels based on the number of active users in each province, the activity of each province is displayed with different background colors, meeting the actual application requirements. The effect is as follows: HTML and the previous article on this site... in this example, the number of active users of a product in each province is counted. The data comes from the mysql database and is divided into different levels based on the number of active users in each province, the activity of each province is displayed with different background colors, meeting the actual application requirements.
Results:
HTML
I used raphael. js in my previous article to draw samples from China. first, I loaded the raphael. js library file and chinamapPath. js path file in the head section.