usgs-makerspace / makerspace-sandbox

Some initial R code for playing with data processing (maybe some light visualization).
Other
0 stars 5 forks source link

Switch to scaling water use by dot area #661

Closed lindsayplatt closed 3 years ago

lindsayplatt commented 3 years ago

This is a better way to scale dots and I didn't think I could do it before because of how we were drawing them as paths with round line-endings, but my discovery today about stroke-width == circle diameter made me realize it is possible.

lindsayplatt commented 3 years ago

Left == scaled by diameter (on test now), right = scaled by area (local only)

Spring, irrigation.

image

Winter, thermoelectric.

image

Summer, public supply

image

lindsayplatt commented 3 years ago

Should also consider applying Flannery's compensation https://makingmaps.net/2007/08/28/perceptual-scaling-of-map-symbols/. Equation outside of Arc can be found at https://gis.stackexchange.com/questions/97902/flannery-compensation-in-leaflet-js

lindsayplatt commented 3 years ago

Wondering if we should decrease max stroke-width from 60 to 40 along with this?

image

mwernimont commented 3 years ago

It does allow the smaller circles to be seen more as less overlap between the large circles leaves transparency. So I am digging that about the 40.

mhines-usgs commented 3 years ago

yeah, i like the transparency with 40!! i think seeing the individual circles feels more meaningful representing this data rather than blobs.

lindsayplatt commented 3 years ago

okie dokie, 40 it is!

jenniferRapp commented 3 years ago

These look good. I think Public supply is still a little hard to see because the points are so regular across the country. Is it possible that they look a little blurry? How do the legend categories that you are working on relate to the number of categories of circles shown on the map? are the smallest dots less than or equal to 160?