-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guides for beta release #362
Comments
@IagoLast yes, definitely. Thanks for bringing to my attention. @arianaescobar and I talked through this and below are the topics and general outline of what we think would be most beneficial for our Alpha release guides (keep in mind with all guides, we can link to specific examples and/or reference sections of the VL dev center). Each guide should produce something tangible so the person following has a final result of the guide in their hands. We can discuss and distribute topics at our Monday meeting. The basics
Expressions and InterpolationNow that people are familiar with the basics of syntax, we can start introducing more complexity with going through interpolation and expressions.
Style by size and/or color broken down by geometry typeOnce we have introduced the "guts" (quickstart, syntax, expressions, interpolation) we can start applying the concepts to each geometry and map type. This is where people will look to know how to make maps that they are familiar making with Builder like choropleth, proportional symbol, categories, etc. Since all geometry types don't support all operations (for example, we still have to implement
Animations
Interactivity
|
And a higher level topic that will be good to know for all of us making guides and talking with people, if someone says to you "I want to make a map with VL" do you point them to the styling editor or directly to the examples page? The examples use the string API, is that how we want to write the guides as well? Also, when the syntax starts getting long how do we want to familiarize people with writing?
What are our best practices for using variables? |
Puuuuurrrfect outline @makella thank you so much!! ✨
I'd say https://carto.com/developers/carto-vl/ and let them surf it all. I wouldn't share the styling editor externally until we improve its UI a bit 🙈
Prolly not a question for me but I'd say that sharing both methods would be the ideal scenario. |
Also, if you want to swap topics, go for it! Just update us here. |
Hmu... I'm seeing many times that I want to explain something in more detail or talk in general about some advanced uses cases or topics. Could we have some "Advanced" sections inlined inside the guides? For example, it is important to talk about the CieLAB interpolation we have or about why you should use the square root when you are making a bubble map. But, at the same time, they are advanced topics. I imagine some inline sections with a label marking it as advanced like this:
And so on What do you think? @makella @arianaescobar |
That we should definitely have that content somewhere, maybe there, maybe in separate guides, but not right now. For now, let's keep it simple, in the basics, and let's not dive any deeper. |
@davidmanzanares feel free to make your Introduction to Interpolation guide about the topics that you think are good to introduce. We have some of the For mapping input variables to different colors and sizes, I am working on styling geometry (point, line, polygons) guide which should cover that. We will talk about the "why" but these guides are also just to introduce some of the high level, important topics (expressions, interpolation, animation, and interactivity) so we can build off of them for the next set of guides that will be more advanced without having to explain everything again. |
Let me know if I can help with this somehow! |
Update 22 May: Pending work
@IagoLast @Jesus89 @arianaescobar
Before we write a specific guide about "how to work with colors", I think there are some other basic things that we should cover that will build up to a better understanding of how to do advanced operations not just with color, but everything.
Side note: some of the functionality with color is still being investigated and things like
hsv($category,1,1)
aren't going to produce good cartographic results read more here so I don't think it is something we want to highlight right now.Also, in the Examples section of the doc, I just realized that not until the interactivity section do we have examples of doing symbol sizes. And I don't think we have one about using custom color schemes.
My thought with the first few guides is to really highlight interpolation, expressions, and animations since those are the things that are so new and powerful for thematic mapping.
If we can take people through the process of making a map through each of the higher level topics, that will get us in good shape for all of the questions that I have already been (and we all will soon) start to get!
I've put some ideas below... please let me know what sounds like a good idea.
Interpolation
ramp()
are done in CIELabzoom()
blend
https://cartodb.github.io/carto-vl/examples/editor/index.html#eyJhIjoidHhfMDEyNV9jb3B5X2NvcHkiLCJiIjoiIiwiYyI6ImNhcnRvZ2wiLCJkIjoiaHR0cHM6Ly97dXNlcn0uY2FydG8uY29tIiwiZSI6IndpZHRoOiBibGVuZCgyLCAxNiwgbGluZWFyKHpvb20oKSwgMl4xMiwgMl4xNikpXG5jb2xvcjogcmdiYSgyNTUsMCwwLDEpIiwiZiI6eyJsbmciOjIuMTU4Nzk4MTI1NDcwODY2NiwibGF0Ijo0MS4zODQ5NzgzNzcyMjcyNH0sImciOjEzLjUyNjQ0MjEzNDM1OTI5NiwiaCI6IkRhcmtNYXR0ZXIifQ==
https://cartodb.github.io/carto-vl/examples/editor/index.html#eyJhIjoidHhfMDEyNV9jb3B5X2NvcHkiLCJiIjoiIiwiYyI6ImNhcnRvZ2wiLCJkIjoiaHR0cHM6Ly97dXNlcn0uY2FydG8uY29tIiwiZSI6IndpZHRoOiAwLjAwNCp6b29tKClcbmNvbG9yOiByYW1wKGxpbmVhcih6b29tKCksIDJeMTAsIDJeMTQpLCBbcmVkLHllbGxvd10pXG5zdHJva2VDb2xvcjogIzAwMFxuc3Ryb2tlV2lkdGg6IDEiLCJmIjp7ImxuZyI6Mi4xNTYzMzkwMDAzMzQwMTQ2LCJsYXQiOjQxLjQyMjEzNjE5NTAzMjU4fSwiZyI6MTAuOTAwNDI3OTQxMTM5Mzk1LCJoIjoiRGFya01hdHRlciJ9
Data-driven styling
sqrt
,$attribute
,sqrt($attribute)
,.....etc.....
ramp(linear($amount,clusterMIN($amount),clusterMAX($amount)),bluyl)
Animations
linear($date,time('xxxxx'),time('xxxx'),10,fade(1,1)
)The text was updated successfully, but these errors were encountered: