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
Missing documentation on d3-scale #71
Comments
Hi @risalfajar 👋 I agree having a better getting started doc is very much needed. We do make a callout to Along with LayerCake's docs, here are some additional resources you might find helpful
Much of the above I'll likely link in a "further reading" page in the docs, but the goal of LayerChart is to simplify creating charts significantly than using D3 directly. It's more akin to Observable Plot (made my Mike Bostock) but with a Svelte/component focus, and more interactivity. |
Thank you for the resourceful answer, I'll look into that. Yes, the view page source helps. I just thought it would be better if other dependencies that needed to use this library can be stated in Getting Started section. Maybe there are more dependencies other than d3-scale? |
It comes down to the specific visualization(s) you are creating, but for the most part, those would cover a great deal of the most common ones. |
I'm trying to implement the Bar example, but it doesn't work since the library doesn't have
scaleBand
function which is needed. Turns out I need to installd3-scale
first.I think this should be documented in Getting Started section. Also explaining the relations of this library with d3-scale could help as well, especially for folks that never heard of it before.
The text was updated successfully, but these errors were encountered: