Visualizing a dot density map Displaying a dot density map The following code shows a simple example of creating a dot density map. This example visualizes data about the location of earthquakes in Korea.