© OpenStreetMap contributors
Data is yet again from OpenStreetMap overpass turbo; it's such a great resource.
[out:json];
area[name = "Marrickville"];
(way(area)["highway"~"^(motorway|trunk|primary|secondary|tertiary|residential)$"];>;);
out;
I was worried that mapping streets would be different, but it wasn't! I discovered this looking through the tutorial posted on Observable by Florian Ledermann here. Florian pointed out that the data for his street map included a "w" property that could set the stroke width. My data didn;t include a "w" property (which indicates a street's relevance or weighting). The data I have includes a "width" variable which I guess is the literal width of the street. I used this to set the weight of each edge - it's not as good as a proper weight, but that's OK. I quite like the look of this map - it's not much but I like the simplicity of it.
As ever code can be found here