Following the quick map of Barcelona mean renting prices, I took it to play a little bit more with datasets of Barcelona.
I came across an interesting one, traffic accidents in Barcelona, which could map quite nicely as a Heatmap:
Unsurprisingly there are accidents all over Barcelona, but the city center concentrates the highest amount of them.
The dataset splits the accidents by accident type (alcohol, bad signs etc), but the majority of points are classified as
Not provided so there’s no way to prepare more specific maps.
There are datasets from 2014 upwards, to be frank, after checking them the hot points are more or less the same, so 2018 is probably enough to get an idea 🙂
Some extra fun (vehicle type)
I had some extra fun playing with this datasets, I filtered by different vehicle types to generate different heatmaps.
Buses are all over the place (which make sense, since those are running almost non-stop all over the city). On the other hand, Taxis are quite focused in the city center and l’Eixample, not surprising those being the most traffic packed zones.
Personal car accidents appear in the city center too, but we can see some highlights in the two arteries of the city, ronda de dalt and ronda litoral, those motorways are the main way to cross Barcelona connecting to bigger highways and neighbouring cities. There are daily jams in those two motorways.
Bike accidents appear mainly in the center, eixample and close to wide streets (like Diagonal and Meridiana). In other neigbourhoods it looks quite safe 🙂
Some extra fun (vehicle color)
Find here a clunky non-stylized bar graph of total accidents by vehicle colours. Colour names are in catalan, but the bars match the name so it’s quite international. Yes, apparently there’s a category for black-yellow vehicles, which I guess are Taxis.
What about the insurance myth about red cars?. Well, I don’t know about that, but it’s clear that there’s a big bar of red vehicles having accidents 🙂 But since I don’t have the number of red cars running around Barcelona it could just be that it’s a popular colour. White and Black cars are very common (from a quick walk around in Bcn you confirm that statement) and as you can see those have the most accidents.
To be safe, just buy a pink car 😉 (not really)
Making smallish maps of my area is fun, so I might get more datasets to present different aspects of Barcelona in the future :-D.
2 responses to “Barcelona traffic accidents 2018”
Pingback: Barcelona mean rent price | Castells
Pingback: Barcelona trees | Castells