simonw / datasette-cluster-map

Datasette plugin that shows a map for any data with latitude/longitude columns
Apache License 2.0
88 stars 16 forks source link

Create cluster count based on the value of a column #37

Open yml opened 3 years ago

yml commented 3 years ago

Today as I was working with some data. I had the need to not only see where on a map I had database records but I was interested to see where a particular column was bigger.

The use case was to visualized some data related to greenhouse gas emission.

If I have correctly understood the JS each time a node is added to a cluster (we are adding 1). ideally I would like to override this by the value of a specific column named count (or anything else).

I am very new to datasette so may be there is a better way to do this or I am missing the point of this plugin.

Btw, thank you very much for creating datasette and sharing it with the rest of the world.