-
Notifications
You must be signed in to change notification settings - Fork 187
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
Optionally clip marks to the canvas area? #165
Comments
We can already add |
We can imagine two use cases:
Any idea for a syntax? |
Motivating application: https://observablehq.com/@observablehq/plot-horizon-chart Here I could see us supporting a |
* clip: true clips the mark to the frame closes #165 related: #181 * reindex clip id * Update src/style.js Co-authored-by: Mike Bostock <[email protected]> * Update src/style.js Co-authored-by: Mike Bostock <[email protected]> * data source (the actual notebook is broken atm) * clippath => clip * reformat horizon plot; nicer heuristic for color * naming consistency * tweak horizon example (#753) * tweak horizon example * use offset, not index * nicer tick labels Co-authored-by: Mike Bostock <[email protected]>
And related, you might want overflow: visible on the SVG element?
The text was updated successfully, but these errors were encountered: