keplergl / keplergl/kepler.gl

Adjust "radius size" and "based on field" for radius programmatically on initial state.

Open
#1,580 0 comments 0 reactions 1 assignee Claimed by @heshan0131 View on GitHub
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

While using kepler.gl I have been unable to find any documentation on setting intial state for visState or mapStyle that will allow to set a plot graphs radius based on a int field I have uploaded in csv.

My business case is that my managers would like the default plot graph show the size of each plot based on count and alternatively adjust the color chart based on another number field. I have not see an example doing this.

**Describe the solution you'd like**
I would like to either see an example in documentation or an easier way to pass in an initial state that allows me to make adjustments to radius size and color chart easily.

**Describe alternatives you've considered**
If possible to add documentation around the complete interface for all visState and mapState elements then I can try to work around

**Additional context**
The state tree doesn't seem to work well with the kepler.gl reducer. It is not easy to hook into existing events as the data they expect is of the entire mapState, visState, etc obj and it is not easy to access in reducer as the reducers don't have access to the store by default just the current state which is outside of keplers scope.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.