Introduction

Leaflet is a powerful map library from JavaScript. Users can use leaflet map to explore interesting patterns of different kinds of dataset such as rentals,traffic,air quality,restaurant and crime.

Leaflet

First let’s explore a new york city traffic density dataset based on UHF42 Neighborhood from Environment & Health Data Portal.

By exploring traffic density in new york city neighborhood, we can clearly see that Manhattan has the highest traffic density and it makes sense since it’s one of the most busiest city in the world.

Parallel Coordinate

So far, we have seen that leaflet is really impressive and it visualizes data in a very clear and beautiful way that Parallel Coordinate cannot compete with. However, Parallel Coordinate still has it’s advantage over leaflet.

Let’s see what Parallel Coordinate can do.

It’s obvious that parallel coordinate plot shows more detail information than leaflet map. For example, if we want to find out where the traffic density is below value 30, we can just select the range below 30 on Traffic Density column and select all ranges of the other two columns. Now we can explore which neighborhood in New York City has low traffic density. So we can explore neighborhood based on different range of traffic density easily using parrallel coordinate plot. However, we can’t see exact value of traffic density by just looking at leaflet map.

Conclusion

The big difference of using Leaflet and Parallel Coordinate to show patterns of the traffic density is that Leaflet gives a visual impulse that makes users easily identify where has the highest or lowest traffic density based on color range of each neighborhood and Parallel Coordinate is more interactive and provides more specific details such as value of traffic density for users to customize and explore themselves. So, if we combine these two great way of showing dataset patterns, we will find out more interesting information.