I had an idea for a kind of visualisation, and I'd like to know if it's been done before, what it's called etc.
Basically it would visualise a single numerical quantity that varies greatly, at relatively few sample points. For instance, population sizes of cities. It would probably also work well for signal strength from radio transmitters.
To calculate the visualisation using a raster scan, given n(i)
is the population of city i
:
- Assign every city a unique colour. (Or, better, a small number using eg 5-color algorithm.)
- At every (X,Y), calculate
n(i)/d
for every cityi
whered
is the distance from the point toi
. (Perhaps something likelog(n(i))/d
would be better.) - Choose the city that has the highest value, and color the point accordingly.
The end result would be that a city with a big population would have a large circle around it, interrupted when it runs into smaller towns. A very small town might be just a small dot within a much larger circle.
Obviously it would look nicer to calculate this using vectors, but I have no idea how.
Is this a known thing? Any libraries, tools, techniques to produce it?
EDIT
Here's the closest thing I can find, using the tip of searching for "influence map". (Unfortunately that term is also used to describe an unrelated meme in the deviantart online art community...):
I'm imagining something with much simpler, more geometric, borders between points though.